non.fatal.error.condition

Definition/BASIC Program, Releases: AP and R83

an error which does not force termination of a program.

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 '='.

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.

See Also

Command Name Type Description
tcl.run Verb: Access Activates compiled Pick/BASIC program.
basic.array.variable Definition References a dimensioned array.
fatal.error.condition Definition Definition of fatal Pick/BASIC error conditions.
basic.debugger.# Command Displays error message number (item-id)
basic.debugger.l Command Lists program source line(s).
basic.debugger.overview Introductory facilitates the debugging of new Pick/BASIC programs and the maintenance of existing Pick/BASIC programs.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.