STEM help / Exchanging data

6.5.7 Unloading results automatically

When the first of the period or results formulae is evaluated, the corresponding functions will load the STEM results for the given model into memory. For obvious reasons, it would be impractical (i.e. too slow) for each separate formula to load and unload these results, and so a separate mechanism is employed to unload the results once evaluation is complete.

The StemGetResultsStatus() function displays the current status of the STEM Results Library interface, but it also optionally unloads the results. In order to guarantee that this happens last, the final parameter of this function identifies a range of cells which must be evaluated before the status is checked and the results closed.

Note: Use of the StemGetResultsStatus() function’s unload facility is not essential, but it is nonetheless recommended, especially for large models.

 

© Implied Logic Limited