Skip to main content
Version: Next

SEND VARIABLE

SEND VARIABLE ( variable )

ParameterTypeDescription
variableVariable🡒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, Create document or Append 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 BLOB Commands.

Example

See example for the RECEIVE RECORD command.

See also

RECEIVE RECORD
RECEIVE VARIABLE
SEND RECORD
SET CHANNEL