Versions Compared

Key

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

...

When creating the relations, Quaestor may ask whether parameters are of the Object type. Obviously, DecksDeckBulkheads and Bulkhead are objects, Area is  Area is not an object but a value. ID$ is automatically made into a string due to the $ suffix.

You see that the relations in object form do not have a left hand term such as in Area in Area = L*B. If an object such as Ship or Deck is created in this manner, they are automatically provided with the @LOCAL attribute. Non-object parameters that are used as goal or input arguments in the function do not necessarily need the @LOCAL attribute, as in the case of ID$ and Areaof ID$ and Area, because they are automatically instantiated in the object. L and B, however, are not given as function arguments but introduced into the object by the relation Area relation Area = L*B. If L and B are not @LOCAL, the input is saved in the solution's top level. The result will be that all decks and bulkheads will have the same L and B since these can be found higher up in the model.

...