Versions Compared

Key

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

...

  and put "" in the data slot of Deck on of Deck on a new line

Relation 4:

Relation 5:

...

When creating the relations, Quaestor may ask whether parameters are of the Object type. Obviously, DecksDecks, Deck Deck, Bulkheads and Bulkhead are objects, 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 = L*B. If an object such as Ship or Deck is 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 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 = 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.

...