You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

You might sometimes find that the easiest and quickest way to debug a problem is to put up a message box.
Using ALERT_MESSAGE() in your scripts causes a dialog box with a predefined message to appear.
ALERT_MESSAGE() can also display a mixture of text and variable values.
For example, if in one of your scripts you wanted to display the value of an Akey that is passed into the script, ALERT_MESSAGE() would look something like this:
ALERT_MESSAGE("The value of AKEY1 is =>" + objListManager.AKey1[0] + "<=");
and during the execution a message box like this would be displayed:

 
[<span style="color: #0000ee"><span style="text-decoration: underline; ">Show Contents List</span></span>|../../index.htm#lansa/lansa050_1580.htm]

  • No labels