ener.hlp (Topic list)
FOR without NEXT (ERR: 26)
■ Each FOR statement must have a matching NEXT statement. For
  example:
 
              FOR i% = 1 TO 10
                   PRINT i%
                   FOR x% = 1 TO 10
                        PRINT x%
                   NEXT x%
              NEXT i%
 
■ If you need additional help, move the cursor to a keyword
  and press F1 to open the Help window.