[Next]
[Up]
[Previous]
[Contents]
[Index]
Next: forall/2 (not in ISO)
Up: Control constructs
Previous: call/1 and once/1
  Contents
  Index
The call(Goal,A1,...,An) creates a new goal by appending the arguments A1, [IMAGE png],An to the end of the arguments of Goal. For example, call(Goal,A1,A2,A3) is equivalent to the following:
Goal=..[F|Args],
append(Args,[A1,A2,A3],NewArgs),
NewCall=..[F|NewArgs],
call(NewCall)
When compiled, n can be any positive number less than 216, when interpreted, however, n cannot be larger than 10.
Neng-Fa Zhou ()
2007-06-05