nextupprevious
Next:UNTRACE stops the tracingUp:PROCEDURESPrevious:TRACE starts the tracing

TRANS transfers a message

Syntax:
    TRANS(<origin list>, | FIRST | LAST| <origin pointer> |, | A | B |, 
        <destination list>, | FIRST | LAST | <destination pointer> |);
It is used to transfer a message from one position in a list to another position in another or the same list. This procedure can be used in nodes of any type.

Example:

     SCAN(IL_Depot, P_Item) IF Cost > 500 THEN STOPSCAN;
     TRANS(IL_Depot, P_Item, B, NewProc, P_Rear);
After a scan in IL of node Dept the first message with Cost > 500 is pointed. Then it is transferred to the EL of node NewProc before the element pointed by P_Rear.
 


domingo c

Mon Mar 20 17:37:52 PST 2000