Alternate Entry Name: .CALL
B: retval = call( fcv [, value] );
C: int call(void *fcv [,int value] );
CALL invokes the co-routine specified by "fcv", at the point at which it was last suspended (by CALL, RESUME, DETACH, break, or function entry). A pointer to the current co-routine (i.e. the caller) is saved in the fcv of the callee. This pointer may be obtained by the function CALLER. This pointer to the caller (parent attribute) is also passed to any co-routines that are resumed by the callee.
If "value" is specified for a co-routine that has not been invoked previously, the first argument will be set to "value". This will override the value of the first argument specified in the call to CREATE.
Copyright © 1996, Thinkage Ltd.