The expression has type '() -> ::string* procedure', which is incompatible with the type '::string*'
that points to this code:
Code: Select all
onPushButton2Click(_Source) = button::defaultAction :-
xx(DB),
List = DB:getallaslist,
listboxnew_ctl:addList(List),
!.
Code: Select all
predicates
addstring : (string) -> integer.
saveitall : ().
consultitall : ().
getallaslist : () -> string*.
Code: Select all
getallaslist() = List :-
List = [ X || placed(X, _, _) ],
!.
It objects to equating "string* procedure" to and string*.
I have tried variious "convert" and "convertToStringList" w/o success.
Can you advise
Thanks in advance.
Dave Plummer