Next:
forall/2 (not in ISO)
Up:
Control constructs
Previous:
call/1 and once/1
Contents
Index
call/2
-
n
(not in ISO)
The call
call(Goal,A1,...,An)
creates a new goal by appending the arguments
A1
,
,
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 that is less than
2
16
; when interpreted, however,
n
cannot be larger than 10.
Neng-Fa Zhou 2013-01-25