Home > lang > quit 
 fr de es it nl pl pt pt_BR mk sq ca ar fa vi ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration  
Documentation
History
 
QUIT
Syntax
QUIT

Ends the program immediately.

All windows are closed, and everything is freed as cleanly as possible.

Examples

PUBLIC FUNCTION Calcmean(fSumme AS Float, fCount AS Float) AS Float

IF fCount = 0 THEN
  PRINT "Division by 0 in function Calcmean"
  QUIT
ENDIF
RETURN fSumme / fCount
END

See also

Miscellaneous Control Structures