basic.crt Statement/BASIC Program

basic.crt

Command basic.crt Statement/BASIC Program
Applicable release versions: AP, R83
Category BASIC Program (486)
Description outputs unconditionally to the terminal display, regardless of whether or not the "printer on" condition is in effect.

This functions like the "print" command, but is not affected by any of the following:

1) the (p) option used with the "run" command at TCL.
2) the "printer on" statement.
3) a "heading", "footing" or "page" statement.

All of the "@" functions provided with the print "statement" are allowed.

When expressions are separated by commas, the next expression is output starting at the column position defined by the next output tab.

A colon at the end inhibits the output of a carriage return / linefeed following the output of the last printed line.
Syntax crt {expression{,expression..}{:}
Options
Example
"crt" makes it easy to display status messages during printing.

printer on
for l = 1 to maxlines
  print line<l>             ;* to printer
  if rem(l,50) else crt l   ;* to screen
next l
printer close
printer off

The line counter "l" is displayed to the screen every 50 lines.
Purpose
Related basic.print
tcl.run
basic.@.functions
basic.print.on
basic.char
basic.printer
basic.statements
basic.masking.function
basic.page
basic.debugger.lp
basic.debugger.pc
basic.:
basic.footing
crt
basic.heading
basic.cat
basic.,