non.fatal.error.condition Definition/BASIC Program

non.fatal.error.condition

Command non.fatal.error.condition Definition/BASIC Program
Applicable release versions: AP, R83
Category BASIC Program (486)
Description a type of error that occurs when a Pick/BASIC program encounters a condition which is resolved by the Pick/BASIC runtime package, although not to the specific need of the program.

The most common occurrence of this is the "variable has not been assigned a value, zero used" message. This particular instance occurs if a reference is made to a variable on the RIGHT side of an "=" (equal) BEFORE being referenced (assigned) on the LEFT side of an "=".
Syntax
Options
Example
dim array(10)
for i = 1 to 10
array(i) = x
next i

This results in 10 non-fatal error messages:

[B10] in program "name", Line n:
Variable has not been assigned a value; zero used.
Purpose
Related basic.debugger.
tcl.run
basic.array.variable
fatal.error.condition
basic.debugger.#
basic.debugger.l
basic.debugger.overview