RAID Commands

You can enter any RAID command from the double colon ( :: ) prompt. RAID commands have the following general syntax:

position command qualifier  
Table 1. General Syntax of RAID Commands
Argument Explanation Note
position

Tells where and how often to execute the RAID command in the program. You can provide one of the following:

 
  line The decimal number of a line of the source code.
  address The hexadecimal address of an object code instruction, indicated by a leading 0X.
  procedure The name of a procedure in the source code.
  variable The name of a variable in the source code. You must specify the variable exactly as it appears in the source code. Variable names are case-sensitive, so "A" is not the same as "a". Subscript variable to indicate an element of an array. For example, A[1,2].
  n Indicates the number of times to execute the command.
qualifier

Can be either of the following:

 
  string A string of characters to search for or to replace the value of a variable.
  * Indicates a special form of the specified command.

Table 2 summarizes the RAID commands.

Table 2. RAID Commands
Command Description
line Displays the specified line of the source code.
/[string] Searches the source code for string.
B Sets a RAID breakpoint.
C Continues program execution.
D Deletes a RAID breakpoint.
G Goes to a line or address, and continues program execution.
H Displays statistics for the program.
I Displays and executes the next object code instruction.
L Displays the next line to be executed.
M Sets watchpoints.
Q Quits RAID.
R Runs the program.
S Steps through the BASIC source code.
T Displays the call stack trace.
V Enters verbose mode for the M command.
V* Prints the compiler version that generated the object code.
W Displays the current window.
X Displays the current object code instruction and address.
X* Displays local run machine registers and variables.
Z Displays the next 10 lines of source code.
$ Turns on instruction counting.
# Turns on program timing.
+ Increments the current line.
- Decrements the current line.
. Displays object code instruction and address before execution.
variable/ Prints the value of variable.
variable!string Changes the value of variable to string.