isComputeOnClose()

eSignal EFS 2

isComputeOnClose()

Top  Previous  Next

 

isComputeOnClose()

 

New in EFS2. This function returns true if setComputeOnClose() is being used in the preMain() function or if the "Make all formulas compute on close" option is checked in the Formula Engine Settings dialog.

 

Note: you can view/change the global compute-on-close setting from within the eSignal program. Click on Tools-->EFS-->Settings to pull up the Formula Engine Settings window.

 

Parameters

 

none

function takes no parameters

 

Usage

 

function main() {

 

       ...

       ...

 

       //there may be times where you want to handle certain logic

       //differently if setComputeOnClose() is being used

       if ( isComputeOnClose()==true ) {

               //do this

       }

       else {

               //do that

       }

 

}

 

setComputeOnClose()