Lingo Dictionary > S > showLocals |  |

showLocals

Syntax

    showLocals

Description

Command; displays all global variables in the Message window. This command is useful only within handlers or parent scripts that contain local variables to display. All variables used in the Message window are automatically global.

Local variables in a handler are no longer available after the handler executes. Inserting the statement

    showLocals

in a handler displays all the local variables in that handler in the Message window.

This command is useful for debugging scripts.

See also

`clearGlobals`, `showGlobals`, `global`