SEND


The SEND statement sends a block of data directly to a device.

 

COMMAND SYNTAX

SEND output {:} TO FileVar THEN | ELSE statements

 

SYNTAX ELEMENTS

The output is an expression evaluating to a string that will be sent to the output device (specified by FileVar).  It is expected that the device has already been opened with OPENSER or OPENSEQ.

The SEND statement will append a newline sequence to the final output expression unless it is terminated with a colon ":" character.

 

NOTES

As the expression can be any valid expression, it may have output formatting applied to it.

The SEND syntax requires that either a THEN or ELSE clause, or both, be specified.  If the data is send without error, the THEN clause is executed.  If the data cannot be sent, the ELSE clause is executed.

See also: SENDX

 

 


jBC