<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>


ABORT Search:

In Interpreter Words in TurboForth Kernal

Word Name: ABORT
Type: Standard word
Data Stack Signature: --
Return Stack Signature: --
Availability: V1.0  V1.1  V1.2
Description:

Immediately stops execution, resets data stack, resets return stack and returns to command line. No message is issued.

Example:

: TEST ( -- )
  CR ." Press S to stop" CR
  BEGIN
    42 EMIT
    KEY? ASCII S = IF ABORT THEN
  AGAIN
;

Comment:

none

See Also: ABORT" 

<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>