Rockwell-automation 1746-BAS BASIC LANGUAGE User Manual Page 54

  • Download
  • Add to my manuals
  • Print
  • Page
    / 280
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 53
Publication 1746-RM001A-US-P
4-14 BASIC Commands
Example
>1 REM EXAMPLE PROGRAM
>10 MODE(DH485,19200,0,1,2,,R)
.
.
.
>25 MODE(PRT1,1200,N,8,,,)
NEW
Purpose
Use the NEW command to delete the program 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. The NEW command is used to erase a program and
all variables in RAM.
Syntax
NEW
Example
>NEW
>LIST
>READY
>
NULL
Purpose
Use the NULL command to determine how many NULL characters (00H) the
module outputs after a carriage return in a print statement. 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]
IMPORTANT
The E storage type option cannot be used if MODE is used as a
statement.
Page view 53
1 2 ... 49 50 51 52 53 54 55 56 57 58 59 ... 279 280

Comments to this Manuals

No comments