version 3
SEND VARIABLE (variable)
Parameter | Type | Description | |
variable | Variable | Variable to send |
Description
SEND VARIABLE sends variable to the document or serial port previously opened by SET CHANNEL. The variable is sent with a special internal format that can be read only by RECEIVE VARIABLE. SEND VARIABLE sends the complete variable (including its type and value).
Notes
1. If you send a variable to a document using this command, the document must have been opened using the SET CHANNEL command. You cannot use SEND VARIABLE with a document opened with Open document, Append document or Create document.
2. This command does not support array variables. If you want to send and receive arrays from a document or over a serial port, use the new BLOB commands introduced in version 6.
Example
See example for the command RECEIVE RECORD.
See Also
RECEIVE RECORD, RECEIVE VARIABLE, SEND RECORD, SET CHANNEL.