| v | Index Level | z (R83) |
| Syntax |
{Flash.routine.name:}/variable
{Flash.routine.name:}/dim.array.variable {Flash.routine.name:}/dim.array.variable(vector.number) {Flash.routine.name:}/dim.array.variable(row.num,col.num) /* |
| Category | BASIC Debugger |
| Type | Command |
| Description | reference, and optionally alter the contents of, variables within the runtime code being executed. |
| Options | |
| See Also | debugger b k d t u \ |
| Example |
*/variable
This accesses a plain variable and displays its current value. */dim.array.variable This displays each element of a dimensioned array. If a dimensioned array is referenced without a subscript, each element is displayed, one at a time. To exit this display without stepping through all the locations, hit the <break> key, or enter any non-null value. The non-null value will not replace any location displayed. The contents of the array can NOT be altered. */dim.array.variable(subscript) This accesses a single-dimensioned array variable. With the subscript designated, only that element is displayed. This can also access a two-dimensional array and assumes the second subscript is 1. */dim.array.variable(row.num,col.num) This accesses a specific location of a two-dimensional array. */* This displays the current assignment of every variable in the program. Typically, programs have a lot of variables. This function does NOT paginate, which results in having the variables fly by on the screen and not being very useful, unless the reader happens to be a speed reader. The <break> key will interrupt this "runaway" variable display and return to the debugger prompt character. In each of the above cases (except the "/dim.array.variable" form), the operator is given the opportunity to change the requested value. If a <return> is entered at the "=" prompt, the symbol remains unchanged. Otherwise, any value entered is placed into the variable. |
| Warnings | The "Flash.routine.name" can only be specified if the program has been optimized through the FlashBASIC compiler (see the "o" option under the "compile" command). When a "Flash.routine.name" is specified, the corresponding debugger command is executed against the specified routine. The ":" (colon) separating the "Flash.routine.name" and the debugger command is required. |
| Compatibility | D3 7.0 AP R83 AP 6.0 FlashBASIC |
| v | Index Level | z (R83) |