Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

ADDGOALS forces all arguments to be computed prior to the first argument in the function

Syntax

  1. ADDGOALS(GoalValExp, SubGoal, [SubGoal])
  2. ADDGOALS(GoalObject(...), SubGoal, [SubGoal])

Arguments 

Method 1

Method 2 

  • GoalObject(...) is the Object that should be the result of the function;
  • SubGoal (an InpVar) is a parameter or object that should be computed prior to the GoalObject(...).

Remarks

  1. When complex object structures are created in Quaestor, the knowledge engineer might require the posibility to force the computation of parameters in order to manage the evaluation order. By adding the ADDGOALS function around an value, expression, TeLiTab or Object, in combination with the forced goals (SubGoal), the value, expression, TeLiTab or Object is still received as result but after the other goals are carried out.
  2. In method 2, Object(..) means that in the object itself additional TopGoals etc. can be defined. See also the documentation on the use of objects in Quaestor.

...