Next: , Up: Miscellaneous Utilities   [Index]


13.16.1 Function Callers

__u2call

void __u2call(object o, integer z, integer p, integer q, &...);

calls the function indicated by o for each pair of the unamed arguments save the first z, inserted at the positions p and q in between the first z (negative position indications are interpreted with respect to the end of insertion list).

__ucall

void __ucall(object o, integer z, integer p, &...);

calls the function indicated by o for each of the unamed arguments save the first z, inserted at the position p in between the first z (negative position indications are interpreted with respect to the end of insertion list).

__uncall

void __uncall(object o, integer z, integer n, &...);

calls the function indicated by o for each n unamed arguments save the first z + n, inserted at the positions indicated by the first n unamed arguments (all expected of type ‘integer’) in between the following z (negative position indications are interpreted with respect to the end of insertion list).

call

object call(object o, &...);

is the evaluation of the function o called for the unnamed arguments

call_n

object call_n(integer n, object o, &...);

calls o n times for the unnamed arguments, with n stricly positive (i.e. greater than 0)

call_s

void call_s(object o, integer p, integer b, integer e, integer s, &...);

calls the function o repeatedly, with the unnamed arguments and an integer inserted in position p, starting with value b and changing in s steps towards and stopping just before reaching e. No calls are made if s and the difference between e and b have different signs.

times

object times(integer n, object o, &...);

is same as ‘call_n’(n, o, ...)


Next: Function Creators, Up: Miscellaneous Utilities   [Index]