Null, New 10-10, New null – Rockwell Automation 1771-DB BASIC MODULE User Manual

Page 140

Advertising
background image

Chapter
Commands

10

10 -10

Use the NEW command to delete the program and all variables currently
stored in RAM. In addition, all variables are set equal to ZERO; all strings
and all BASIC evoked interrupts are cleared. The free running clock,
string allocation, and internal stack pointer values are not affected.

Syntax

NEW

Return

Example

>NEW

>LIST

READY

>

Use the NULL command to set how many null characters (00H) you want
the BASIC module to output after a carriage return in a print statement
(page 11 -29). After initialization this value is set to 0. Most printers
contain a RAM buffer that eliminates the need to output null characters
after a carriage return.

Syntax

NULL (

integer)

Return

Example

>NULL

(10)

NEW

NULL

Advertising