BASICHELP.HLB  —  END
  The END statement marks the physical and logical end of a main program,  a
  program module, or a block of statements.

  Example

  3000   IF Answer$ = ""
         THEN
              PRINT 'Bye'
              GOTO 32767
         ELSE
              GOTO 100
         END IF
  32767  END

1  –  Syntax

      END [block]

        block:  { DEF [exp]         }
                { FUNCTION [exp]    }
                { GROUP             }
                { RECORD            }
                { VARIANT           }
                { IF                }
                { HANDLER           }
                { PROGRAM [int-exp] }
                { SELECT            }
                { WHEN              }
                { SUB               }
Close Help