Next: Matrix element
Up: Elements of the Fib
Previous: Retrieve domain properties
Contents
Index
Setelement
The set element assigns sets of values in succession to a number of variables. The variables apply everywhere in the subobject.
Syntax:
Description of the elements:
 : The number of elements of a set. The minimum number is one element. ()
 : The number of sets of values, with which the variables will be set. The minimum number is one set. ()
 : The variables, which the set element defines.
 : This is the number of the domain for the setelement. This information is optional, the default value is 0. If no setdomain with that number exist, the setdomain with the next smallest number is used. By using different, adapted for each setelement, domains, the memory requirements for storing in the compressed Fib format can be optimized.
 with
: This are the to set values for the variables.

: The vector with the sets of values to set.
 : The subobject, for which the variables are defined and which will be evalued for every variable assignment.
The variables
are sequentially assigned to the individual sets of values of
. Where the variable will only be set to the values (). Thus there are bindings of variables, in which the variable is first set to the value of , after this to , etc. . If an element is a variable, the will be set to the value of variable of .
Example:

; In this example the variables and will be set for the subobject sequentially to the values , and than .

; In this example the variables , and will be set for the subobject sequentially to the values
,
and than
. The domain for the setelement is the third setdomain.
Note:
Not all dependencies of several variables can be easily represented by functions. Therefore, the set element offer the ability to assign multiple variables sequentially to sets of values.
It is conceivable, for example, to create a database object, which codes a character set ("font"). With the input parameters/variables of this database object the letter and the display position of the letters are assignable. However, it can not be assumed, that the input variables for the letters of a text are in a simple functional dependenc. With the set element the input variables can be easily assigned to the values for each letter of the text.
Next: Matrix element
Up: Elements of the Fib
Previous: Retrieve domain properties
Contents
Index
Betti Ã–sterholz
20130213