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