Programming Guide |
Executes a JPL receive command
int sm_receive(char *receive_args);
receive_args
- A string constant that contains
receive
command arguments, using one of the following formats:[
bundlebundleName
] [ item
itemNo
] [ keep]
datafieldExpr
{
ARGUMENTS | MESSAGE} ( [
receiveArg
] )
Refer to the
receive
command for a description of these arguments.
sm_receive
reads data from a bundle that was written by an earlier call to sm_send or the JPL send command—typically, from another screen.sm_receive
reads the data into itsfield-expr
arguments in the same order that it was sent. Unless you supply thekeep
argument, the bundle data is discarded aftersm_receive
completes execution.For more information, refer to the JPL
receive
command.