HTBasic Help
×
Menu
Index

PRINTALL IS

 
PRINTALL IS assigns an error and message logging device (printer or file) that works in conjunction with the PRINTALL mode.
 
When the PRINTALL mode is on, all messages normally output to the screen's output area, DISP line, keyboard line, and message line are output to the PRINTALL device.
 
This is helpful in debugging especially when used to print TRACE messages about program execution. Also, certain error conditions can produce more than one line of output but only the last message is visible on the message line.
 
The PRINTALL mode is toggled on and off with the PRT ALL key--or set on/off under program control with CONTROL KBD,1;1 and CONTROL KBD,1;0.
STATUS(KBD,1) returns a 1 if PRINTALL mode is on, and 0 if it is off.
 
PRINTALL is set to the default CRT at startup and after a SCRATCH ALL.