SEND VARIABLE
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:
- 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, Create document or Append document.
- 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 BLOB Commands.
Example
See example for the RECEIVE RECORD command.
See also
RECEIVE RECORD
RECEIVE VARIABLE
SEND RECORD
SET CHANNEL
Properties
Command number | 80 |
Thread safe | ✓ |