ener.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Invalid screen mode (ERR: 271)
■ You tried to unload or show forms in an invalid screen
  mode. For example:
 
               SUB Form_Load()
                    SCREEN 9
               END SUB
 
■ Possible solution:
 
  • Use the SCREEN statement to set the screen mode to 0
    before forms are displayed. In some cases, you will also
    need to use the WIDTH statement to reset the screen width
    to 80 columns. For example:
 
              SCREEN.HIDE
              SCREEN 7
              COLOR 7, 4
              CIRCLE STEP(0, 0), 100, , , , 5 /25
              SLEEP 2
              WIDTH 80
              SCREEN 0
              SCREEN.SHOW
 
■ If you need additional help, move the cursor to a keyword
  and press F1 to open the Help window.