bas7qck.hlp (Table of Contents; 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.
EXIT Statement
  ◄Syntax►  ◄Details►  ◄Example►                 ◄Contents►  ◄Index►  ◄Back►
──────────────────────────────────────────────────────────────────────────────
EXIT {DEF | DO | FOR | FUNCTION | SUB}
 
    ■ EXIT DEF         Immediately exits from the executing DEF FN
                       function.
    ■ EXIT DO          Exits from a DO...LOOP.
    ■ EXIT FOR         Provides another way to exit from a FOR...NEXT loop.
    ■ EXIT FUNCTION    Immediately exits from a FUNCTION procedure.
    ■ EXIT SUB         Immediately exits from a SUB procedure.
 
See Also    ◄DEF FN►    ◄DO...LOOP►    ◄FOR...NEXT►    ◄FUNCTION►    ◄SUB►