Options list, list num, Options, List, list num – Rockwell Automation 1747-WINBAS Software Programming Manual User Manual

Page 16

Advertising
background image

Publication 1747-PM001A-EN-P - January 2007

14 Getting Familiar With Your BASIC Interface Software

Below the Watch List box and in the middle are two buttons that
either set or clear a BASIC-program break point. The BASIC modules
allow only one break point to be set at a time. When this break point
is encountered during program execution, the program stops and the
BASIC module goes to the command prompt. Also, the break point is
automatically cleared by the module after it is encountered. If you
want to continuously stop inside a loop, the break point must be set
after each break. Clicking RUN causes the module to start executing
from the first line of the BASIC program. Clicking CONT causes the
module to continue executing the BASIC program after either a break
point or pressing Ctrl+C. If Ctrl+C detection is enabled in the module
(module default) and you press Ctrl+C, then the program will stop
executing at the end of the currently running line.

Below the Watch List box and to the right are three buttons that
provide short cuts for the RUN, CONT, and Ctrl+C BASIC commands.
Use these three buttons independently or in conjunction with
Single-Step or Break Point.

Click close at the bottom to close the Debug Window dialog.

Options

Tools > Options opens a dialog that lets you change the BASIC
software font size. The legal sizes are 12, 14, 16, 18, 20, 22, and 24.

List, List NUM

From the Tools menu, you can choose List and List NUM.

• Tools > List is a shortcut that sends the LIST command to the

BASIC module. The LIST command prints the entire program to
the BASIC software dialog.

• Tools > List NUM opens a dialog that lets you enter a line

number. Then the BASIC LIST command is sent to the module
followed by the line number (for example, LIST 100). This action
lists the BASIC program from the specified line number to the
end of the BASIC program to the BASIC software dialog.

Advertising