Next: , Previous: , Up: Statements   [Index]


7.8 GIVE UP

INTERCAL-72 C-INTERCAL CLC-INTERCAL J-INTERCAL
yes all versions all versions all versions

The GIVE UP command causes the program to end (or, in a multithreaded program, causes the current thread to end). It is written simply as GIVE UP. There is not much else to say about it, except to mention that it is the only way to end the program without an error unless the last line of the program is TRY AGAIN, and that it has an unusual interaction with ABSTAIN; for details of this, see ABSTAIN. (Going past the last command in the program is an error.)

There is no gerund for GIVE UP; in particular, GIVING UP is a syntax error.