TYPE - determine how co-routine was invoked.

Usage:

B:
   val = type( [fcv] );
C:
   int type( [void *fcv] );

Where:

fcv
points to the fcv of the co-routine whose type is to be determined. If "fcv" is not specified, TYPE will determine how the current co-routine was invoked.
val
indicates how the co-routine was given control.
1
the co-routine was invoked by CALL;
2
the co-routine was invoked by RESUME;
3
the co-routine was invoked by DETACH;
4
the co-routine was invoked by a function return.

Description:

TYPE allows the user to determine how a co-routine was given control.

Copyright © 1996, Thinkage Ltd.