Login
Plus/4 EncyclopediaFirstBackNextLast

?NEXT WITHOUT FOR ERROR
Category
Reference/Basic Error Messages

Topic
A NEXT statement was executed outside of an appropriate FOR loop. This can occur when there is no FOR loops in operation, or a variable name was specified in the NEXT statement which does not correspond to a FOR loop currently in operation.

Example
10 FOR A = 1 TO 10:PRINT"HI"
20 NEXT A,B Causes the error, as there is no FOR B loop in operation

ERR$ error number
10



Copyright © Plus/4 World Team, 2001-2024