Versions Compared

Key

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

...

  1. You will be asked whether StartFrame is an Object. Say no;
  2. Hereafter you will be asked whether StartFrame is a Goal paramter or Input. Say no, because you want to provide this as input for the Waterline object;
  3. These questions are also asked for FrameStep and EndFrame. Say no to the Object question and no to the Goal parameter question. These values are input to the object.

The syntax defines a Function that creates an object Waterline including Rel_B and Frame the moment it is initiated (when you do a calculation). The first parameter, @Rel_B, makes sure Rel_B is the top goal (calculated value). The second parameter, @Frame, makes sureFrame is the input for the function, the expression following @Frame: STR$(StartFrame) + "(" + STR$(FrameStep) + ")" + STR$(EndFrame) defines what should be asked as input to create the range input within the Waterline object. 

The General syntax used for Frame is @ParameterName:"Input". By using the intrinsic STR$ function with the parameters, you can give range input to the object, while for Quaestor it appears as normal single value input. This solve the constrained that you cannot give range input while building a solution. The @ in front of the parameters is to indicate that Rel_B and Frame are to be calculated in the object. See also QuaestorSyntax.

...

The solution is the object Waterline, which is filled with values for Rel_B  for every case of Frame. Please note that the parameters are requested in alphabetical order. By using the @ORDER attribute in the data slot of the parameters you can manipulate this order (provide @ORDER:1 to StartFrame, @ORDER:2 to FrameStep and @ORDER:3 to EndFrame). Furthermore, please note that you cannot select Waterline as top goal when you are into the Waterline object in one of the solutions. The reason is that Quaestor assumes you want to add a parameter to this level and does not allow you to do so.

...

5   Managing solutions

  • In the solution Waterline, select the cell containing Object  (as in figure 3). Press F2, which is the shortkey for edit.

...

 In the knowledge browser, select the class Top Goals/Undefined. In the right hand side,  New Parameter/Function (or Ctrl+I). Name the Object Ships and select the type: Object.

 Unlike the Waterline object, which was defined by a function, the object Ships does not yet meet the validity conditions.

...