• Overview
    • euler
    • false
    • null
    • pi
    • true
    • Overview
    • break
    • c_for
    • call
    • continue
    • exit
    • for
    • if
    • import
    • loop
    • outer
    • return
    • then
    • throw
    • try
    • while
    • Overview
    • - difference()
    • != unique()
    • * product()
    • / quotient()
    • && and()
    • %
    • ^
    • + sum()
    • < increasing()
    • <= nondecreasing()
    • == equal()
    • > decreasing()
    • >= nonincreasing()
    • || or()
    • bitwise_and()
    • bitwise_arithmetic_shift_right()
    • bitwise_not()
    • bitwise_or()
    • bitwise_popcount()
    • bitwise_roll_left()
    • bitwise_roll_right()
    • bitwise_shift_left()
    • bitwise_shift_right()
    • bitwise_xor()
    • double_to_long_bits()
    • long_to_double_bits()
    • Overview
    • Bool
    • List
    • Map
    • Number
    • String
  1. Scarpet
  2. Syntax
  3. Control Flow
  4. exit

exit

View on GitHub

Syntax

exit()
exit(value)

It terminates entire program passing value as the result of the program execution, or null if omitted.

Found a problem with this page?

  • View the source on GitHub
  • Edit this page on GitHub