This function removes records from any stack belonging to any IMOD. PULL() is a destructive operation.
record = PULL([stack],[owner],[cntl])
Parameters
Returned data or error text.
Number of the stack to be referenced.
Default: If a local stack is referenced, the current stack (as set by the SWAPSTAK() function). Otherwise, the owning IMOD task sets the value using the PUBSTACK(DEFAULT) function.
IMOD ID of the owner of the stack (for external reference). This value can be obtained from the variable imod_id in the owning IMOD task. It is also the value that the SPAWN() function returns.
Default: Current IMOD task.
Name of a variable to receive the control information that is stored with the record.
Default: Control information is not retrieved.
ARG n INVALID
RECORD NOT FOUND
SPECIFIED IMOD NOT FOUND
STACK NOT SPECIFIED AND NO DEFAULT
REQUESTED STACK DOES NOT EXIST
SPECIFIED IMOD/STACK NOT AUTHORIZED
Example
rec = pull() /* A record is retrieved from the current stack */ rec = pull(2) /* A record is retrieved from local stack 2 */ rec = pull(,453,'owner') /* A record is retrieved from IMOD 453's default stack. The control information will be placed in the variable named "owner" */
Copyright © 2014 CA Technologies.
All rights reserved.
|
|