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?

PRINT

Description

The PRINT statement sends data directly to the current output device, which will be either the terminal or the printer. It takes the general form: 

PRINT expression {, expression...} {:}

An expression can evaluate to any data type. The PRINT statement will convert the result to a string type for printing. Expressions separated by commas will be sent to the output device separated by a tab character.

The PRINT statement will append a newline sequence to the final 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.
  • If a PRINTER ON statement is currently active then output will be sent to the currently assigned printer form queue.

An example of use is as: 

PRINT @(8,20):"Como esta?":


See also:  CRT

Go back to jBASE BASIC.

Was this article helpful?