Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?

SENDX

Description

The SENDX statement sends a block of data (in hexidecimal) directly to a device. It takes the general form: 

SENDX output {:} TO FileVar THEN | ELSE statements

Where:

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

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

Note: 

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

The SENDX syntax requires a specified THEN or ELSE clause, or both. If the data is send without error, it executes the THEN clause. If the data cannot be sent, it executes the ELSE clause.

See also: SEND.

Go back to jBASE BASIC.

Was this article helpful?