SEND

Top  Previous  Next

 

The SEND statement sends data to a device previously opened using OPENSEQ.

 

 

Format

 

SEND string {:} TO dev

{THEN statement(s)}

{ELSE statement(s)}

 

where

 

stringevaluates to the data to be sent. The data will be followed by the operating system specific newline sequence unless the optional colon is present after the string expression.

 

devis the file variable from a previous OPENSEQ.

 

At least one of the THEN and ELSE clauses must be present. The THEN clause will be executed if the action is successful. The ELSE clause will be executed at an error and the value of the STATUS() function will provide further information regarding the cause of the failure.

 

 

See also:

GET, OPENSEQ