Changes
Created page with "Generates a run-time error and displays the specified error message. A run-time error will cause the execution of the study to be aborted. ==== Usage ==== <syntaxhighligh..."
Generates a run-time error and displays the specified error message.
A run-time error will cause the execution of the study to be aborted.
==== Usage ====
<syntaxhighlight>RaiseRunTimeError("Message")</syntaxhighlight>
Where: [[Message]] - a string expression specifying the error message
==== Example ====
<syntaxhighlight>Generate a run-time error and display the message "Strategy Stopped":
RaiseRunTimeError("Strategy Stopped");</syntaxhighlight>
[[Category:Execution Control]]
A run-time error will cause the execution of the study to be aborted.
==== Usage ====
<syntaxhighlight>RaiseRunTimeError("Message")</syntaxhighlight>
Where: [[Message]] - a string expression specifying the error message
==== Example ====
<syntaxhighlight>Generate a run-time error and display the message "Strategy Stopped":
RaiseRunTimeError("Strategy Stopped");</syntaxhighlight>
[[Category:Execution Control]]