Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Local Window
◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
The Local window shows all parameters of the currently executing
function. Whenever the program enters or exits a function,
CodeView automatically updates the window with new local
variables.
The Local window is blank if a function has no parameters, local
variables, or static variables, or if the CS:IP address is not
between the starting and ending addresses of a function.
See: ◄Switching Languages (Notes)►
To display the addresses (relative to BP) of local variables in
the Local window, enter the OL+ command in the command window.
See: ◄Options/Show Symbol Address (OL) Command►
In the Local window, you cannot add or delete variables. However,
you can change the value of any local variable displayed in the
window. Overtype the value shown for the variable, then move the
cursor off the line where the value appears. To restore the
original value of the variable, press ESC before you move the
cursor, or choose the Undo command from the Edit menu.
See: ◄Edit Menu: Undo Command►
When the Local window has the input focus, you can expand or
contract any structure, array, or pointer displayed in the
window. A plus sign (+) appears to the left of expandable items;
a minus sign (-) appears to the left of contractable items.
To expand an item in the Local window:
Mouse: Double-click in the structure, array, or pointer
Keyboard: Move the cursor to the structure, array, or pointer;
and press ENTER
Once you have expanded a structure, array, or pointer to its basic
components, repeat the process to "contract" the display and
return it to its original form.
See: ◄Expanding/Contracting: Keyboard►
◄Expanding/Contracting: Mouse►
-♦-