In list tables containing at least one input value, several output values will be defined. If more than one input value is entered, the sequence of the input values is important. The reading direction goes from left to right and the first input value defines the range of the next input value, which in turn defines that of the next one, etc. up to the last. All input values apart from the last one must correspond with the entries in the body data (, list of used key words.
Example 1
The following three input values are assumed:
In accordance with the code shown below, the output values would then be:
.
-- table type: List table; output variable |
||
|
||
-- INPUT g.d defines the input parameter ; |
||
-- INPUT g.P defines the input parameter ; |
||
|
INPUT g.d |
|
|
INPUT g.P |
|
-- IN_OUT s.l defines s.l as phase variable |
||
-- TREAT NEXT_BIGGER specified how interim values are handled |
||
|
IN_OUT s.l |
TREAT NEXT_BIGGER |
-- OUTPUT s.k, s.dk declares s.k and s.dk as output variables |
||
|
OUTPUT s.k,s.dk |
|
-- data: A (N × Nin) matrix |
||
DATA |
|||||
|
2.0 |
0.4 |
0 |
|
|
|
2.0 |
0.8 |
5 |
3 |
4.5 |
|
2.0 |
0.8 |
7 |
3 |
4.5 - relevant data row |
|
2.0 |
0.8 |
10 |
3 |
4.8 |
END |
|||||
In contrast to functions tables, in the first row of the code specifies the name of the external table, and not the output variable. declares a variable , which is used both as an input and output variable (phase variable). functions again as a key word for processing the interim values: shows that input values are to be evaluated it they are not present in the corresponding column of the body data. In the example, the input value lies between the values 5 and 7 and, in accordance with , will be promoted to the next bigger value. declares not only but also the output variables and . The number of the columns of the body data must at least correspond to the number of input variables and at most correspond to the number of input variables + output variables, in this case: 3 < Nin > 5.
Example 2
To determine the diverse measurements of a bolt, two input values will be used: the bolt type, here represented by the variable and the length of the bolt, given by .
|
||
|
|
|
|
|
|
|
|
|
|
||
DATA |
||||||||
|
. . . |
|
|
|
|
|
|
|
|
12x2.5 |
20 |
12 |
14.57 |
23.78 |
5.75 |
ID 1 |
1 |
|
12x2.5 |
25 |
12 |
15.78 |
24.88 |
5.75 |
ID 2 |
1 |
|
. . . |
|
|
|
|
|
|
|
END |
||||||||
This table is called . The sequence in the table header defines that within the columns, the first column therefore corresponds to the variable, the second to the variable, etc. The and variables will be used as inputs, where the value for the variable must be present in the list. If an interim value is given for the variable, the row with the next smaller value will be interpreted as the result. Blanks are not permitted, i.e. in this type table values must always be present. It may happen that individual variables are shown in brackets in the output definition. This has the effect that the corresponding column is ignored, i.e. this variable will not be specified.
Note
Commented-out output definitions cannot be changed by the user.