SetTrace

The SetTrace function is the calculation command that selects a particular cell to be traced during the execution of member formulas in a calculation script.

SetTrace lets you to trace multiple data cells.

Syntax :

SetTrace(OnOff)
Parameters Discussion
on Traces the execution of programs for debugging.
off Turns off tracing after it has been set on

Examples :

Example 1 :

Turn on the Trace.

dSetTrace = SetTrace(On)
DEBUG(dSetTrace)

Result :

dSetTrace 
= True

Example 2 :

Turn off the Trace.

dSetTrace = SetTrace(Off)
DEBUG(dSetTrace)

Result :

dSetTrace 
= True