RequireVariableAssignmentBeforeRead |
Top Previous Next |
Valid for: SetStartup & SetRuntime
Syntax - SetStartup RequireVariableAssignmentBeforeRead {"Yes" | "No"}
Description: This option is used to determine if EMUE should check that variables are assigned an initial value before they are used. This option sets the Require Variable Assignment Before Read checkbox on the Misc. tab of the EMUE Tools - Current Settings - Option Settings dialog.
Note: If this option is valued with a “No”, an unassigned variable will be assigned an initial value of 0. Note: While the value of “No” is the original default for this option, it is considered a good programming practice that all variables are assigned (via a Copy or a Let command) before use. It is recommended that this option be set to “Yes” to insure that all variables are initialized properly.
Sample: The following statement instructs EMUE to check that every variable has been assigned a value before the variable is used. SetStartup RequireVariableAssignmentBeforeRead "Yes"
See Also:
|