Previous Page | Next Page

The SCL Debugger

SET



Assigns new values to a specified variable
Abbreviation: S

Syntax
Details
Examples

Syntax

SET <entry-name\> variable expression

entry-name\

is the name of a catalog entry containing an SCL program entry that uses variable. If the entry resides in the current catalog, then entry-name can be a one-level name. If the entry resides in a different catalog, then entry-name must be a four-level name, and the entry must already be loaded into the application's execution stack. A backslash must follow the entry name.

variable

is an SCL variable.

expression

contains a standard debugger expression.


Details

The SET command assigns either a value or the result of a debugger expression to the specified variable. When you detect an error during program execution, you can use this command to assign new values to variables. This enables you to continue the debugging session instead of having to stop, modify a variable value, and recompile the program. You can also assign new values to variables in other active entries.


Examples

Previous Page | Next Page | Top of Page