4D v14.3RECEIVE VARIABLE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
RECEIVE VARIABLE
|
RECEIVE VARIABLE ( variable ) | ||||||||
Parameter | Type | Description | ||||||
variable | Variable |
![]() |
Variable in which to receive | |||||
RECEIVE VARIABLE receives variable, which was previously sent by SEND VARIABLE from the document or serial port previously opened by SET CHANNEL.
In interpreted mode, if the variable does not exist prior to the call to SET CHANNEL, the variable is created, typed and assigned according to what has been received. In compiled mode, the variable must be of the same type as what is received. In both cases, the contents of the variable are replaced with what is received.
Notes:
See example for the RECEIVE RECORD command.
The OK system variable is set to 1 if the variable is received. Otherwise, the OK system variable is set to 0.
Product: 4D
Theme: Communications
Number:
81
Created: < 4D v6
ON ERR CALL
RECEIVE RECORD
SEND RECORD
SEND VARIABLE
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)
Parent of : RECEIVE VARIABLE ( 4D v11 SQL Release 6)