Contents - Index


$UpdateGuesses

 

Place a $UpdateGuesses directive in a Subprogram or in the main mainn program to automatically update the guess values in this program unit after the calculations are completed.  This directive provides the same function as the Update button in the Variable Information dialog.  If any error message is generated during the calculations, the automatic guess value update operation will not be done.  Guess values can also be manually updated by selecting the Update Guesses menu item.  

 

The $UpdateGuesses directive differs slightly from the Update Guesses menu command in that the Update Guesses menu command updates the guess values in the main program and all Subprograms whereas the $UpdateGuesses directive only operates within the scope (main program or Subprogram) that it is located in.  However, the $UpdateGuess directive can include a /A option.  If the /A option is supplied, then the guess values are update for the main program and all subprograms, regardless of where the $UpdateGuesses directive is located.

 

Example:

 

$UpdateGuesses /A

 

 

Directives