1070: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
|#Undefined variable name. A variable name was specified that was either invalid or not defined. One situation where this error can occur is when a FORM variable is not defined. In the following example, the variable P is used to identify the POS position. If P is not previously defined, this error will occur during execution: PRINT USING "FORM POS P, N 12.2": D
|#Undefined variable name. A variable name was specified that was either invalid or not defined. One situation where this error can occur is when a FORM variable is not defined. In the following example, the variable P is used to identify the POS position. If P is not previously defined, this error will occur during execution: PRINT USING "FORM POS P, N 12.2": D
#[[Break]] used in conjunction with an otherwise unused variable or [[internal function]] (like [[fkey]])
#[[Break]] used in conjunction with an otherwise unused variable or [[internal function]] (like [[fkey]])
#Break Off attempted for a variable that did not have break turned on
|#Change the variable to a literal or define the variable.
|#Change the variable to a literal or define the variable.
#Check the spelling of the variable.
#Check the spelling of the variable.
#if automating break points use a temp variable to remember if you turned break on for something so you can test if it needs break to be turned off before attempting turning it off.
}}
}}
[[Category:Error Codes]]
[[Category:Error Codes]]

Revision as of 16:17, 8 February 2016

Summary:

Invalid Variable name

Cause:

  1. Undefined variable name. A variable name was specified that was either invalid or not defined. One situation where this error can occur is when a FORM variable is not defined. In the following example, the variable P is used to identify the POS position. If P is not previously defined, this error will occur during execution: PRINT USING "FORM POS P, N 12.2": D
  2. Break used in conjunction with an otherwise unused variable or internal function (like fkey)
  3. Break Off attempted for a variable that did not have break turned on

Remedy:

  1. Change the variable to a literal or define the variable.
  2. Check the spelling of the variable.
  3. if automating break points use a temp variable to remember if you turned break on for something so you can test if it needs break to be turned off before attempting turning it off.