4D v16.3

SEND VARIABLE

Home

 
4D v16.3
SEND VARIABLE

SEND VARIABLE 


 

SEND VARIABLE ( variable ) 
Parameter Type   Description
variable  Variable in Variable to send

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

 
PROPERTIES 

Product: 4D
Theme: Communications
Number: 80

This command can be run in preemptive processes

 
HISTORY 

Created: < 4D v6

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)