6 - editing and debugging a basic program, What’s in this chapter, Edit a program line – Rockwell Automation 1771-DB BASIC MODULE User Manual

Page 87: Editing and debugging a basic program

Advertising
background image

6

Chapter

6 -1

Editing and Debugging a BASIC Program

This chapter describes:

On page:

edit a program line

6 -1

delete a program line

6 -3

renumber a program

6 -3

debug a program

6 -4

what’s next?

6 -4

When the BASIC module is in Command mode, you can edit the BASIC
program that resides in RAM. Editing a BASIC program is done on a line-
by-line basis. To edit an existing line in the BASIC program, type

EDIT

and the line number of the line you want to edit. The ASCII terminal
displays the BASIC program line you specify in the EDIT command
(page 10 -7).

READY
>EDIT 20

20 PRINT “HELLO WORLD”

What’s in This Chapter?

Edit a Program Line

Advertising