quit (string Text)

Terminates the session or simulation cycle after the current run, 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