Replies: 1 comment 2 replies
-
|
Isn't doing the following practical in your case: ..., Message =.. [Name| Arguments], Object::Message, ...In alternative, if the goal is called from inside an object (or category), you can simply do: ..., call(Object::Name, Arg1, ...), ...In Logtalk, |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
what is not clear to me: I can do things in Prolog like
A = myPredicate, B = myArgument, call(A, B).I can do in Logtalk
A = myObject B=myMessage, A::B.if myMessage/0. But what is the way to do it if myMessage requires Arguments (myMessage/N, N>0)?
Cheers
Hans
Beta Was this translation helpful? Give feedback.
All reactions