OpenURL
OpenURL(url)
Opens a browser window to the specified «url».
This can be used in the OnClick attribute of button to open supplementary documentation for your model.
Failures
There is no return value -- it always returns Null.
The function does not report failures. If the URL does not exist, this error will appear in your browser window, but no error message will occur within Analytica.
If your computer is unable to open a browser, nothing will happen, and no error is reported.
Examples
OpenURL("http://analytica.com")
OpenURL("analytica.com")
From ADE
When evaluated in the Analytica Decision Engine (ADE) and a dialog needs to be shown to the end-user, it calls IAdeUICallbacks::OpenURL(...). The parent application implements this callback to open the URL for the end-user. To receive this callback, the parent application must have previously registered the callback with ADE using CAEngine::SetCallbackObject( ). If it has not registered a callback, the function does nothing.
History
OpenURL was introduced in Analytica 4.6.
Enable comment auto-refresher