Program Editor Menu Functions

You can use the menu options to open, close, print, and compile files, to edit a file, to run a file, to debug a file, to access tools, to view status and toolbars, to arrange windows, and access help.

File menu

Edit menu

Run menu

Debug menu

Tools menu

View menu

Window menu

Help menu

File Menu


Creates a new document for the Program Editor.


Opens an existing document for the Program editor.


Closes the script.


Saves the active document.

Save All

Saves all the open files in the Program Editor.

Save As

Save the script with a different name.


Prints the active document

Print Preview

Displays the active document as it will be printed

Recent Files

Displays the list of most recently accessed files.


Compiles the active document.

Create Program

Creates a new document for the Program Editor.


Exits the Program Editor.

Edit Menu


Undoes the last action.


Cuts the selection and puts it on the Clipboard.


Copies the selection and puts it on the Clipboard


Inserts Clipboard contents.


Deletes the selection.


Finds user-identified text in the document.

Find Next

Finds next occurrence of user-identified text in the document.


Replaces user-identified text with new text.

Goto Line

Opens a Goto Line dialog box.

The insertion point goes to the line number that is entered in the Line Number field.

Insert Dialog

Inserts a dialog box.

Edit Dialog

Edits an inserted dialog box.


Selects a font.


Sets string and stack space.

View Menu


Displays the list of available toolbars. You can toggle the display of each toolbar.

Status Bar

Toggles the display of the Status Bar at the bottom of program windows.

Run Menu



Run the program


Break executing program


End the running or paused program

Debug Menu

Add Watch

Displays the Add Watch dialog box, in which you can specify the name of a script variable

Delete Watch

Deletes the watch from the selected variable

Quick Watch

Do a quick check of a variable value, without adding the variable to the Watch list.


Modifies the value of a variable.


Executes the next line of the script. If the line calls a procedure, the called procedure is run in its entirety.

Step Into

Executes the next line of the script. If the line calls a procedure, the next line to execute will be the first line of the called procedure.

Call Stack

Displays the stack of current calls.

Trace/Clear Trace

Enables/disables output to the Trace window

Toggle Breakpoint

Toggles a breakpoint in the script

Clear all Breakpoints

Clears all breakpoints from the script

Set Next statement

Sets the nest statement to be executed in a paused program to the currently selected line.

Set Command Line

Set the command line for the script. This can be retrieved via the basic Command$ parameter. The Basic Control Engine will pass the Event & Action which caused the script to be run. See BCE Manual

Set Event Information


Reset Public Variables

Re-set's the contents of public and private variables to an empty state.

Tools Menu


Displays a submenu that lets you browse for points, edit a point, and create a new point. You can also use this menu item to include Setpoints, Get Points, and create local variables in the program.


Displays a submenu that lets you generate or update alarms in the program.

Log Status

Displays a dialog box that lets you generate messages for the Status Log.


Toggles Dynamic Configuration of points, alarm, etc.

Window Menu

New Window

Opens a new window.


Arranges the windows so that they overlap.

Tile Horizontally

Tiles the windows horizontally.

Tile Vertically

Tiles the windows vertically.

Arrange Icons

Arranges the program icons in the Program Editor window.

Current Programs

Displays the list of current programs.

Help Menu


Displays the main Help window for the Program Editor.

Using Help

Displays the main Help window for Microsoft Windows.


Displays program information, version number, and copyright for the Program Editor

More information

 Program Editor window components.