:-consult('external data base.pl').
listaw:-
new(SS, dialog('Rekordy w bazie wiedzy')),
send(SS, display, new(W3,text('some text'))),
new(M,menu(von,cycle)),
findall(B,failure(B,_,_),Y),
send_list(M, append, Y),
send(SS,open).
使用带有事实的外部数据库:failure(aaa,bwww,cdd).
我有错误:
26 ?- listaw. ERROR: Arguments are not sufficiently instantiated ^ Exception: (18) pce_util:send_list(user:@18495295/menu, append, _G534) ?
有什么问题?当我在同一个文件中包含上述代码的所有事实时,一切正常......但我想使用外部数据库...... enter code here