Please enable JavaScript to view this site.

 

The result variable bRESULT is the variable whose value, at the end of a macro, determines what the resulting action of the macro will be.

 

For example if you wished to perform some action on holidays (such as, shading the textbox's background) you would write something like this:

bRESULT = HolidayOfList('a', n_TokenDate)

Then, in the script's macros options resulting actions dialog, you would set replacement actions in the TRUE and FALSE tabs corresponding to the 2 possible values of bRESULT at the end of the macro, as shown below.

 

 

If you do not set a value for bRESULT, it is assumed to be false.

 

See also: macros resulting actions.