Copyright: © 1995-1997 Aimsoft Development Corporation. All Rights Reserved.


Contents

The following Help Topics are available:

Application Window

Toolbar Tools

Moving the Insertion Point

Selecting Text

Deleting, Cutting, Copying, and Pasting Text

Adding Comments to Your Script

Finding and Replacing Text

Editing Dialog Box Templates

Running, Pausing, and Stopping Your Script

Tracing Script Execution

Setting and Removing Breakpoints

Working with Watch Variables

Keyboard Shortcuts

Menu Commands

For Help on Help, Press F1

AimBasic Help Contents


Moving the Insertion Point

Moving the Insertion Point with the Mouse

Moving the Insertion Point to a Specified Line in Your Script


Selecting Text

Selecting Text with the Mouse

Selecting Text with the Keyboard

Selecting an Entire Line


Adding Comments to Your Script

Adding a Full-Line Comment

Adding a Comment at the End of a Line of Code


Finding and Replacing Text

Finding Specfied Text

Replacing Specified Text


Editing Dialog Box Templates

Inserting a New Dialog Box Template into Your Script

Editing an Existing Dialog Box Template in Your Script


Running, Pausing, and Stopping Your Script

Running Your Script

Pausing an Executing Script

Stopping an Executing Script


Tracing Script Execution

Stepping Through Your Script

Displaying the Calls Dialog Box

Moving the Instruction Pointer to Another Line within a Subroutine


Setting and Removing Breakpoints

Starting Debugging Partway through a Script

Continuing Debugging at a Line Outside the Current Subroutine

Debugging Selected Portions of Your Script

Removing a Single Breakpoint Manually

Removing All Breakpoints Manually


Working with Watch Variables

Adding Watch Variables

Selecting Variables on the Watch List

Deleting Watch Variables

Modifying the Value of Variables on the Watch Variable List


Moving the Insertion Point with the Mouse

Here's how to use the mouse to reposition the insertion point. This approach is especially fast if the area of the screen to which you want to move the insertion point is currently visible.

To move the insertion point with the mouse:

1.	Use the scroll bars at the right and bottom of the display to scroll the target area of the script into view if it is not already visible.

2.	Place the mouse pointer where you want to position the insertion point.

3.	Click the left mouse button.

The insertion point is repositioned.

Note: When you scroll the display with the mouse, the insertion point remains in its original position until you reposition it with a mouse click. If you attempt to perform an editing operation when the insertion point is not in view, Script Editor automatically scrolls the insertion point into view before performing the operation.


Moving the Insertion Point to a Specified Line in Your Script

Here's how to jump directly to a specified line in your script. This approach is especially fast if the area of the screen to which you want to move the insertion point is not currently visible but you know the number of the target line.

To move the insertion point to a specified line in your script:

1.	Press F4.

Script Editor displays the Goto Line dialog box.

2.	Enter the number of the line in your script to which you want to move the insertion point.

3.	Click the OK button or press Enter.

The insertion point is positioned at the start of the line you specified. If that line was not already displayed, Script Editor scrolls it into view.

Note: The insertion point cannot be moved so far below the end of a script as to scroll the script entirely off the display. When the last line of your script becomes the first line on your screen, the script will stop scrolling, and you will be unable to move the insertion point below the bottom of that screen.


Selecting Text with the Mouse

Here's how to use the mouse to select text in your script.

To select text with the mouse:

1.	Place the mouse pointer where you want your selection to begin.

2.	While pressing the left mouse button, drag the mouse until you reach the end of your selection, and release the mouse button.

-Or-

While pressing Shift, place the mouse pointer where you want your selection to end and click the left mouse button.

The selected text is highlighted on your display.


Selecting Text with the Keyboard

Here's how to use keyboard shortcuts to select text in your script.

To select text with the keyboard:

1.	Place the insertion point where you want your selection to begin.

2.	While pressing Shift, use one of the navigating keyboard shortcuts to extend the selection to the desired ending point.

The selected text is highlighted on your display.


Selecting an Entire Line

Here's how to use the keyboard to select one or more whole lines in your script.

To select an entire line of text with the keyboard:

1.	Place the insertion point at the beginning of the line you want to select.

2.	Press Shift + Down arrow.

The entire line, including the end-of-line character, is selected.

3.	To extend your selection to include additional whole lines of text, repeat step 2.


Adding a Full-Line Comment

Here's how to designate an entire line as a comment.

To add a full-line comment:

1.	Type an apostrophe ( ' ) at the start of the line.

2.	Type your comment following the apostrophe.

When your script is run, the presence of the apostrophe at the start of the line will cause the entire line to be ignored.


Adding a Comment at the End of a Line of Code

Here's how to designate the last part of a line as a comment.

To add a comment at the end of a line of code:

1.	Position the insertion point in the empty space beyond the end of the line of code.

2.	Type an apostrophe ( ' ).

3.	Type your comment following the apostrophe.

When your script is run, the code on the first portion of the line will be executed, but the presence of the apostrophe at the start of the comment will cause the remainder of the line to be ignored.


Replacing Specified Text

Here's how you can automatically replace either all instances or selected instances of specified text.

To replace specified text:

1.	Move the insertion point to where you want to start the replacement operation. (To start at the beginning of your script, press Ctrl+Home.)

2.	Choose the Replace command from the Search menu.

Script Editor displays the Replace dialog box:

3.	In the Find What field, specify the text you want to replace.

4.	In the Replace With field, specify the replacement text.

5.	Select the Match Case check box if you want the replacement operation to be case-sensitive. Otherwise, it will be case-insensitive.

6.	To replace all instances of the specified text, click the Replace All button.

Script Editor either replaces the specified text throughout your script and indicates the number of occurrences it has changed, or it indicates that the specified text cannot be found.

7.	To replace selected instances of the specified text, click the Find Next button.

Script Editor either highlights the first instance of the specified text or indicates that it cannot be found.

8.	If the specified text has been found, either click the Replace button to replace that instance of it or click the Find Next button to highlight the next instance (if any).

Each time you click the Replace button, Script Editor replaces that instance of the specified text and automatically highlights the next instance.


Inserting a New Dialog Box Template into Your Script

Here's how to invoke Dialog Editor and use it to create a new dialog box template for use in your script.

To insert a new dialog box template into your script:

1.	Place the insertion point where you want the new dialog box template to appear in your script.

2.	From the Edit menu, choose the Insert New Dialog command.

Script Editor's application window is temporarily disabled, and Dialog Editor appears, displaying a new dialog box in its application window.

3.	Use Dialog Editor to create your dialog box.

4.	Exit from Dialog Editor and return to Script Editor.

Script Editor automatically places the new dialog box template generated by Dialog Editor in your script at the location of the insertion point.


Editing an Existing Dialog Box Template in Your Script

Here's how to invoke Dialog Editor and use it to modify a dialog box template contained in your script.

To edit an existing dialog box template in your script:

1.	Select the AimBasic code for the entire dialog box template.

2.	From the Edit menu, choose the Edit Dialog command.

Script Editor's application window is temporarily disabled, and Dialog Editor appears, displaying in its application window a dialog box created from the code you selected.

3.	Use Dialog Editor to modify your dialog box.

4.	Exit from Dialog Editor and return to Script Editor.

Script Editor automatically replaces the dialog box template you originally selected with the revised template generated by Dialog Editor.


Running Your Script

Here's how to compile your script, if necessary, and then execute it.

To run your script:

Click the Start tool on the toolbar.

-Or-

Press F5.

The script is compiled (if it has not already been compiled), the focus is switched to the parent window, and the script is executed.

Note: During script execution, Script Editor's application window is available only in a limited manner. Some of the menu commands may be disabled, and the toolbar tools may be inoperative.


Pausing an Executing Script

Here's how to suspend the execution of a script that you are running.

To pause an executing script:

Press Ctrl+Break.

Execution of the script is suspended, and the instruction pointer (a gray highlight) appears on the line of code where the script stopped executing.

Note: The instruction pointer designates the line of code that will be executed next if you resume running your script.


Stopping an Executing Script

Here's how to stop the execution of a script that you are running.

To stop an executing script:

Click the End tool on the toolbar.

Note: Many of the functions of Script Editor's application window may be unavailable while you are running a script. If you want to stop your script but find that the toolbar is currently inoperative, press Ctrl+Break to pause your script, then click the End tool.


Stepping Through Your Script

Here's how to trace the execution of your script with either the single step or procedure step method.

To step through your script:

1.	Click the Single Step or Procedure Step tool on the toolbar.

-Or-

Press F8 (Single Step) or Shift+F8 (Procedure Step).

Script Editor places the instruction pointer on the sub main line of your script.

Note: When you initiate execution of your script with any of these methods, the script will first be compiled, if necessary. Therefore, there may be a slight pause before execution actually begins. If your script contains any compile errors, it will not be executed. To debug your script, first correct any compile errors, then initiate execution again.

2.	To continue tracing the execution of your script line by line, repeat step 1.

Each time you repeat step 1, Script Editor executes the line containing the instruction pointer and moves the instruction pointer to the next line to be executed.

3.	When you finish tracing the execution of your script, either click the Start tool on the toolbar (or press F5) to run the balance of the script at full speed or click the End tool to halt execution of the script.


Displaying the Calls Dialog Box

When you are stepping through a subroutine, you may need to determine the procedure calls by which you arrived at that point in your script. Here's how to use the Calls dialog box to obtain this information.

To display the Calls dialog box:

1.	Click the Calls tool on the toolbar.

Script Editor displays the Calls dialog box, which lists the procedure calls made by your script in the course of arriving at the present subroutine.

2.	From the Calls dialog box, select the name of the procedure you wish to view.

3.	Click the Show button.

Script Editor highlights the currently executing line in the procedure you selected, scrolling that line into view if necessary. (During this process, the instruction pointer remains in its original location in the subroutine.)


Moving the Instruction Pointer to Another Line within a Subroutine

When you are stepping through a subroutine, you may want to repeat or skip execution of a section of code. Here's how to use the Set Next Statement command to move the instruction pointer to another line within that subroutine.

To move the instruction pointer to another line within a subroutine:

1.	Place the insertion point in the line where you want to resume stepping through the script.

2.	From the Debug menu, choose the Set Next Statement command.

The instruction pointer moves to the line you selected, and you can resume stepping through your script from there.

Note: You can only use the Set Next Statement command to move the instruction pointer within the same subroutine. If you place the insertion point on a line that is not in the same subroutine, the Set Next Statement command will be disabled in the Debug menu.


Starting Debugging Partway through a Script

Here's how to begin the debugging process at a selected point in your script.

To start debugging partway through a script:

1.	Place the insertion point in the line where you want to start debugging.

2.	To set a breakpoint on that line, click the Toggle Breakpoint tool on the toolbar.

-Or-

Press F9.

The line on which you set the breakpoint now appears in contrasting type.

3.	Click the Start tool on the toolbar.

-Or-

Press F5.

Script Editor runs your script at full speed from the beginning and then pauses prior to executing the line containing the breakpoint. It places the instruction pointer on that line to designate it as the line that will be executed next when you either proceed with debugging or resume running the script.


Continuing Debugging at a Line Outside the Current Subroutine

If you want to continue debugging at a line that isn't within the same subroutine, here's how to move the instruction pointer to that line.

To continue debugging at a line outside the current subroutine:

1.	Place the insertion point in the line where you want to continue debugging.

2.	To set a breakpoint on that line, press F9.

3.	To run your script, click the Start tool on the toolbar or press F5.

The script executes at full speed until it reaches the line containing the breakpoint and then pauses with the instruction pointer on that line. You can now resume stepping through your script from that point.


Debugging Selected Portions of Your Script

If you only need to debug parts of your script, here's how to facilitate the task by using breakpoints.

To debug selected portions of your script:

1.	Place a breakpoint at the start of each portion of your script that you want to debug.

Note: Up to 255 lines in your script can contain breakpoints.

2.	To run the script, click the Start tool on the toolbar or press F5.

The script executes at full speed until it reaches the line containing the first breakpoint and then pauses with the instruction pointer on that line.

3.	Step through as much of the code as you need to.

4.	To resume running your script, click the Start tool on the toolbar or press F5.

The script executes at full speed until it reaches the line containing the second breakpoint and then pauses with the instruction pointer on that line.

5.	Repeat steps 3 and 4 until you have finished debugging the selected portions of your script.


Removing a Single Breakpoint Manually

Here's how to delete breakpoints manually one at a time.

To remove a single breakpoint manually:

1.	Place the insertion point on the line containing the breakpoint that you want to remove.

2.	Click the Toggle Breakpoint tool on the toolbar.

-Or-

Press F9.

The breakpoint is removed, and the line no longer appears in contrasting type.


Removing All Breakpoints Manually

Here's how to delete all breakpoints manually in a single operation.

To remove all breakpoints manually:

Select the Clear All Breakpoints command from the Debug menu.

Script Editor removes all breakpoints from your script.


Adding Watch Variables

Here's how to add a variable to Script Editor's watch variable list.

To add a watch variable:

1.	Click the Add Watch tool on the toolbar.

-Or-

Press Shift+F9.

Script Editor displays the Add Watch dialog box.

2.	Use the controls in the Context box to specify where the variable is defined (locally, publicly, or privately) and, if it is defined locally, in which routine it is defined.

3.	In the Variable Name field, enter the name of the variable you want to add to the watch variable list.

You can only watch variables of fundamental data types, such as Integer, Long, Variant, and so on; you cannot watch complex variables such as structures or arrays. You can, however, watch individual elements of arrays or structure members using the following syntax:

[variable [(index,...)] [.member [(index,...)]]...]

Where variable is the name of the structure or array variable, index is a literal number, and member is the name of a structure member.

For example, the following are valid watch expressions:

Watch Variable	Description

a(1)	Element 1 of array a

person.age	Member age of structure person

company(10,23).person.age	Member age of structure person that is at element 10,23 within the array of structures called company

Note: If you are executing the script, you can display the names of all the variables that are "in scope," or defined within the current function or subroutine, on the drop-down Variable Name list and select the variable you want from that list.

4.	Click the OK button or press Enter.

If this is the first variable you are placing on the watch variable list, the watch pane opens far enough to display that variable. If the watch pane was already open, it expands far enough to display the variable you just added.

Note: Although you can add as many watch variables to the list as you want, the watch pane only expands until it fills half of Script Editor's application window. If your list of watch variables becomes longer than that, you can use the watch pane's scroll bars to bring hidden portions of the list into view.


Selecting Variables on the Watch List

In order to delete a variable from Script Editor's watch variable list or modify the value of a variable on the list, you must first select the desired variable. Here's how to select a variable on the list.

To select a watch variable:

Place the mouse pointer on the variable you want to select and click the left mouse button.

-Or-

If one of the variables on the watch list is already selected, use the arrow keys to move the selection highlight to the desired variable.

-Or-

If the insertion point is in the edit pane, press F6 to highlight the most recently selected variable on the watch list and then use the arrow keys to move the selection highlight to the desired variable.

Note: Pressing F6 again returns the insertion point to its previous position in the edit pane.


Deleting Watch Variables

Here's how to delete a selected variable from Script Editor's watch variable list.

To delete a watch variable:

1.	Select the variable on the watch list.

2.	Press Del.

The selected variable is removed from the watch list.


Modifying the Value of Variables on the Watch Variable List

When the debugger has control, you can modify the value of any of the variables on Script Editor's watch variable list. Here's how to change the value of a selected watch variable.

To modify the value of a variable on the watch variable list:

1.	Place the mouse pointer on the name of the variable whose value you want to modify and double-click the left mouse button.

-Or-

Select the name of the variable whose value you want to modify and press Enter or F2.

Script Editor displays the Modify Variable dialog box.

Notes: The name of the variable you selected on the watch variable list appears in the Name field. If you want to change another variable, you can either enter a different variable in the Name field or select a different variable from the Variables list box, which shows the names of the variables that are defined within the current function or subroutine.

When you use the Modify Variable dialog box to change the value of a variable, you don't have to specify the context. Script Editor first searches locally for the definition of that variable, then privately, then publicly.

2.	Enter the new value for your variable in the Value field.

3.	Click the OK button.

The new value of your variable appears on the watch variable list.


Deleting, Cutting, Copying, and Pasting Text

Deleting Text

Cutting a Selection

Copying a Selection

Pasting the Contents of the Clipboard into Your Script


Deleting Text

Here's how to remove one or more characters, selected text, or entire lines from your script.

To delete text:

To remove a single character to the left of the insertion point, press BkSp once; to remove a single character to the right of the insertion point, press Del once. To remove multiple characters, hold down BkSp or Del.

-Or-

To remove text that you have selected, press BkSp or Del.

-Or-

To remove an entire line, place the insertion point in that line and press Ctrl+Y.


Cutting a Selection

Here's how to place on the Clipboard text that you have cut from your script.

To cut a selection:

Press Ctrl+X.

The selection is removed from your script and placed on the Clipboard.


Copying a Selection

Here's how to place on the Clipboard text that you have copied from your script.

To copy a selection:

Press Ctrl+C.

The selection remains in your script, and a copy of it is placed on the Clipboard.


Pasting the Contents of the Clipboard into Your Script

Once you have cut or copied material to the Clipboard, here's how to paste it into your script at another location.

To paste the contents of the Clipboard into your script:

1.	Position the insertion point where you want to place the contents of the Clipboard.

2.	Press Ctrl+V.

The contents of the Clipboard appear at the location of the insertion point.


Finding Specfied Text

Here's how to locate instances of specified text quickly anywhere within your script.

To find specified text:

1.	Move the insertion point to where you want to start your search. (To start at the beginning of your script, press Ctrl+Home.)

2.	Press Ctrl+F.

Script Editor displays the Find dialog box:

3. 	In the Find What field, specify the text you want to find.

4.	Select the Match Case check box if you want the search to be case-sensitive. Otherwise, the search will be case-insensitive.

5.	Click the Find Next button or press Enter.

The Find dialog box remains displayed, and Script Editor either highlights the first instance of the specified text or indicates that it cannot be found.

6.	If the specified text has been found, repeat step 5 to search for the next instance of it.

Note: If the Find dialog box blocks your view of an instance of the specified text, you can move the dialog box out of your way and continue with your search. You can also click the Cancel button, which removes the Find dialog box while maintaining the established search criteria, and then press F3 to find successive occurrences of the specified text. (If you press F3 when you have not previously specified text for which you want to search, Script Editor displays the Find dialog box so you can specify the desired text.)


Keyboard Shortcuts

General Shortcuts

Navigating Shortcuts

Editing Shortcuts

Debugging Shortcuts


General Shortcuts

F1

Provides context-sensitive help for selected menu commands and variables in the watch pane, for AimBasic terms in the edit pane that have been selected or that contain the insertion point, and for displayed dialog boxes.

Ctrl+F

Displays the Find dialog box, which allows you to specify text for which you want to search.

F3

Searches for the next occurrence of previously specified text. If you have not previously specified text for which you want to search, displays the Find dialog box.

Esc

Deactivates the Help pointer if it is active. Otherwise, compiles your script and returns you to the host application.


Navigating Shortcuts

Up arrow

Moves the insertion point up one line.

Down arrow

Moves the insertion point down one line.

Left arrow

Moves the insertion point left by one character position.

Right arrow

Moves the insertion point right by one character position.

PgUp

Moves the insertion point up by one window.

PgDn

Moves the insertion point down by one window.

Ctrl+PgUp

Scrolls the insertion point left by one window.

Ctrl+PgDn

Scrolls the insertion point right by one window.

Ctrl + Left arrow

Moves the insertion point to the start of the next word to the left.

Ctrl + Right arrow

Moves the insertion point to the start of the next word to the right.

Home

Places the insertion point before the first character in the line.

End

Places the insertion point after the last character in the line.

Ctrl+Home

Places the insertion point before the first character in the script.

Ctrl+End

Places the insertion point after the last character in the script.


Editing Shortcuts

Del

Removes the selected text or removes the character following the insertion point without placing it on the Clipboard.

BkSp

Removes the selected text or removes the character preceding the insertion point without placing it on the Clipboard.

Ctrl+Y

Deletes the entire line containing the insertion point without placing it on the Clipboard.

Tab

Inserts a tab character.

Enter

Inserts a new line, breaking the current line.

Ctrl+C

Copies the selected text, without removing it from the script, and places it on the Clipboard.

Ctrl+X

Removes the selected text from the script and places it on the Clipboard.

Ctrl+V

Inserts the contents of the Clipboard at the location of the insertion point.

Shift + any navigating shortcut

Selects the text between the initial location of the insertion point and the point to which the keyboard shortcut would normally move the insertion point. (For example, pressing Shift + Ctrl + Left arrow selects the word to the left of the insertion point; pressing Shift+Ctrl+Home selects all the text from the location of the insertion point to the start of your script.)

Ctrl+Z

Reverses the effect of the preceding editing change(s).


Debugging Shortcuts

Shift+F9

Displays the Add Watch dialog box, in which you can specify the name of a AimBasic variable. Script Editor then displays the value of that variable, if any, in the watch pane of its application window.

Del

Removes the selected watch variable from the watch pane.

Enter or F2

Displays the Modify Variable dialog box for the selected watch variable, which enables you to modify the value of that variable.

F6

If the watch pane is open, switches the insertion point between the watch pane and the edit pane.

F8

Activates the Single Step command, which executes the next line of a AimBasic script and then suspends execution of the script. If the script calls another AimBasic procedure, execution will continue into each line of the called procedure.

Shift+F8

Activates the Procedure Step command, which executes the next line of a AimBasic script and then suspends execution of the script. If the script calls another AimBasic procedure, AimBasic will run the called procedure in its entirety.

Ctrl+Break

Suspends execution of an executing script and places the instruction pointer on the next line to be executed.

F9

Sets or removes a breakpoint on the line containing the insertion point.


Menu Commands

File Menu

Edit Menu

Run Menu

Debug Menu

Help Menu


File Menu

Close, Ctrl+W

Compiles your script and returns you to the host application.


Edit Menu

Undo    Ctrl+Z

Reverses the effect of the preceding editing change(s).

Cut    Ctrl+X

Removes the selected text from the script and places it on the Clipboard.

Copy    Ctrl+C

Copies the selected text, without removing it from the script, and places it on the Clipboard.

Paste    Ctrl+V

Inserts the contents of the Clipboard at the current position of the insertion point.

Clear    Delete

Removes the selected text from the script without placing it on the Clipboard.

Select All    Ctrl+A

Selects all the text in the edit window.

Find...    Ctrl+F

Displays the Find dialog box, which allows you to specify text for which you want to search.

Replace...    Ctrl+H

Displays the Replace dialog box, which allows you to substitute replacement text for instances of specified text.

Goto Line...    Ctrl+G

Presents the Goto Line dialog box, which allows you to move the insertion point to the start of a specified line number in your script.

Insert New Dialog...

Invokes the AimBasic Dialog Editor, which you can use to create a new dialog box for insertion into your script.

Edit Dialog...

Invokes the AimBasic Dialog Editor, which you can use to edit the selected dialog box template. (This command is only enabled if a dialog box template is currently selected.)

Font...    Ctrl+D

Displays the Font dialog box, which allows you to specify the font used for text in the edit window.

Note: The Insert New Dialog and Edit Dialog commands only appear in the Edit menu if you are running the AimBasic 2.1 on a platform that supports Dialog Editor.


Run Menu

Start    F5

Begins execution of a script.

End

Stops execution of an executing script.

Syntax Check

Verifies the syntax of the statements in your script by compiling it.


Debug Menu

Add Watch...    Shift+F9

Displays the Add Watch dialog box, in which you can specify the name of a AimBasic variable. That variable, together with its value (if any), is then displayed in the watch pane of Script Editor's application window.

Delete Watch    Del

Deletes a selected variable from the watch variable list.

Modify...    Enter or F2

Displays the Modify Variable dialog box for a selected variable, which enables you to modify the value of that variable.

Single Step    F8

Steps through the script code line by line, tracing into called procedures.

Procedure Step    Shift+F8

Steps through the script code line by line without tracing into called procedures.

Toggle Breakpoint    F9

Toggles a breakpoint on the line containing the insertion point.

Clear All Breakpoints

Removes all breakpoints previously set with the Toggle Breakpoint command.

Set Next Statement

Enables you to place the instruction pointer on another line within the current procedure and resume script execution from that point.


Help Menu

Contents

Displays a list of major topics on which you can obtain help.

Search for Help on...

Displays the Search dialog box, which allows you to search for Help topics containing specific keywords.


Application Window

Script Editor's application window contains the following elements:

Toolbar: a collection of tools that you can use to provide instructions to Script Editor, as discussed in the following subsection

Edit pane: a window containing the AimBasic code for the script you are currently editing

Watch pane: a window that opens to display the watch variable list after you have added one or more variables to that list

Pane separator: a divider that appears between the edit pane and the watch pane when the watch pane is open

Status bar: displays the current location of the insertion point within your script


Toolbar Tools

    Cut

Cuts the selection to the clipboard.

    Copy

Copys the selection to the clipboard.

    Paste

Pastes the contents of the clipboard into the insertion point.

    Undo

Undoes the previous action.

    Start

Begins execution of a script.

    Start

Pauses execution of the current script.

    End

Stops execution of a script.

    Toggle Breakpoint

Adds or removes a breakpoint on a line of AimBasic code.

    Add Watch

Displays the Add Watch dialog box, in which you can specify the name of a AimBasic variable. That variable, together with its value (if any), is then displayed in the watch pane of Script Editor's application window.

    Calls

Displays the list of procedures called by the currently executing AimBasic script. Available only during break mode.

    Single Step

Executes the next line of a AimBasic script and then suspends execution of the script. If the script calls another AimBasic procedure, execution will continue into each line of the called procedure.

    Procedure Step

Executes the next line of a AimBasic script and then suspends execution of the script. If the script calls another AimBasic procedure, AimBasic will run the called procedure in its entirety.