Basic programming guide – Remote Processing BASIC for the CX-10 Modbus User Manual
Page 43

BASIC PROGRAMMING GUIDE
2-34
NULL
Syntax:
NULL integer
Where: integer = 0 -255
Function:
Sets number of NULL characters output to user after a carriage return
Mode:
Command
Use:
NULL 100
DESCRIPTION
The NULL command controls how many NULL characters (00H) are output following a carriage return.
After a reset, NULL = 0. Because this is a command mode command, 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 DBY(21)=expr instruction, where expr is any value between 0 and 255. No error is returned 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.