RaiseRunTimeError

From MultiCharts
Revision as of 12:14, 23 January 2012 by 194.84.116.138 (talk) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

RaiseRunTimeError("Message")

Where: Message - a string expression specifying the error message

Example

Generate a run-time error and display the message "Strategy Stopped": 

RaiseRunTimeError("Strategy Stopped");