DETACH - return from co-routine group.
Usage:
B:
val = detach( [retval] );
C:
int detach( [int retval] );
Where:
- retval
- is the value returned to the caller (parent) co-routine.
- val
- is the value passed to this co-routine the next time it
is invoked (since the assignment does not take place
until this co-routine is RESUMEd).
Description:
DETACH is used to return from a group of co-routines to the
routine that CALL'ed a member of the group. If "retval"
is specified, it will be returned as the value of the CALL
function in the parent co-routine.
See Also:
expl b lib call
expl b lib caller
expl b lib resume
Copyright © 1996, Thinkage Ltd.