Next: External subobjects
Up: Elements of the Fib
Previous: Conditions with the if-element
Contents
Index
Call external objects
External objects are Fib objects that are not defined in the current Fib subobject. These can be from a root-element (root) or from the Fib object database (see section 10 on page ). In this way, parts of Fib objects can be used multiple times in the Fib object or can be reused for different Fib objects.
Syntax:
Description of the elements:
- : Identify (a unique integer) for the Fib object, which is to be used. Only Fib objects that come after the current Fib object should be used (to avoid recursion), in which the Fib objects from the root-elements come first, and then the Fib objects of the database. Of the root-elements, only the root-elements are examined, which contain the current Fib object, but no root-elements, which do not contain the current Fib object. When the external object comes from the database, the is negative, otherwise it is positive. While searching for the external objects (with the ) in the root-elements, first the root subelements of the next root-element will be searched, in which the Fib object occurs, which requires the external object. In it () only subroot-elements will be checked, which stands after the root subelement, which contains the external object element. So first the in the next root-element from the external object element are investigated, and than the after the root-element in the root-element, in which the investigated root-element stands. The section 9.14.4 on page defines the order for the root-elements which determines, how they will searched through, when looking for a . You can also find their, which and in what order the root-elements will be checked while searching for an .
-
: The vector with the input values, which are needed for the used Fib object.
- : The are the input values, which are needed for the used Fib object. The input value is for the i'th input variable of the corresponding root-element or the i'th input variable of the root-element will be set to the value .
- : The subobjects, that are needed for the extern object. All subobjects are resolved before the current object. The subobjects are ordinary objects, which themselves can contain external objects. All in the subobjects contained external objects are resolved in relation to the current object. Resolved here means, that they are loaded and integrated into the Fib object (contained variables are assigned to existing variables), without evaluating them at this point. The subobjects must be provided in the root-element with the corresponding identifier . In the corresponding root-element, the same number of output variable lists with the same number of output variables should be present. (see the root-element 9.14 on page )
- : The output variables, which are provided for the extern object from the current Fib object. If an output variable is not yet provided, it is set to .
The number and sequence of the subobjects, input and output variables must match the definition of the external object (the root-element with the ).
Notes:
The external object () element is after the root-element one of the most complicated Fib elements. But reusing subobjects or functions should be worth that effort.
Examples:
-
: The root database object with the identifier is used here. The variable and are the input parameters (e. g. they can determine the upper left corner wher the inserted object should be display).
-
: The root object with the identifier is used here. This object, can use the object
, where the red fraction and the position of the point is determined by the output parameters / varaibles , and .
Next: External subobjects
Up: Elements of the Fib
Previous: Conditions with the if-element
Contents
Index
Betti Österholz
2013-02-13