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?

CRT

Description

Print messages to either stdout or stderr. The PRINT and CRT statement will display to stdout whereas the PRINTERR statement will display to stderr. The CRT statement will also translate all non-printable characters as the sequence ~nnn where nnn is a 3 digit decimal representation of the non-printable character.

 It's use is as: 

CRT {expression} {:}

or 

PRINT {expression} {:}

or 

PRINTERR {expression} {:}

where: 

  • : specifies no trailing new line will be printed. Without the : modifier then a new line will always be printed at the end of the "expression" string.
  • expression is the string to print. If not specified, no message is displayed, just a new line (unless of course the +:modifier was used).

An example of use may be as: 

printerr "Fatal error " : $? : " when loading program MODUSER"


Was this article helpful?