quit (string Text)

Terminates or aborts the session or simulation cycle, and prints the text to the message window.

Remarks:

Example:

if(Equity < 100)
  return quit("!Out of money!");

See also:

printf, run, wait, version, ExitCode

► latest version online