
RPBASIC-52 PROGRAMMING GUIDE
2-65
NULL
Syntax: NULL integer
Where: integer = 0 -255
Function: Sets number of NULL cha racters output to user after a carriage return
Mode: Command
Use: NULL 100
Cards: All
DESCRIPTION
The N ULL comman d cont rols how many NU LL characters (00H) are output follow ing a carriage return.
After a reset, N ULL = 0. Because this is a com man d mode com man d, it cannot be used as part of a program.
The NULL count is stored at external data memory location 15H. Change the value of NULL in a program
using the DB Y(21)=expr instruction, where expr is any value between 0 and 255. No error is returne d if it is
greater than 255.
NULL is generally needed only if you have a slow printer connected to the serial printer port. Note that
NULL affects all serial ports.
Some terminal programs will advance the cursor when a null character is received. This may result in an
strange looking display.
RELATED
LIST, PRINT
ERROR
BAD SYNTAX When integer is negative.
Komentáře k této Příručce