Versions Compared

Key

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

TELITAB# returns a TeLiTab based on a list of parameters

Syntax

  1. TELITAB#(Mode%=0 or Mode%=1,InpVar)
  2. TELITAB#(@Object)

Arguments

  • Mode% is Mode% is the option of the TELITAB# function
    • Mode%=0 returns the full set of case values for InpVar.
    • Mode%=1 returns the current case values for InpVar.
  • InpVar is a list of parameters in the current solution to be inclued in a Telitab set
  • @Object is an object. In this way you make an explicit TeLiTabs of an object. This is not really necessary because you can address objects like TeLiTabs.

...

  1. When you want to create TeLiTab documents inside objects, the Mode% is the Mode% is not the only important choice to determine whether one TeLiTab is made or a TeLiTab is made for each case. When you use InpVar without quotes in the TeLiTab syntax for the goal parameter in an object and InpVar is a multi case parameter in the object, Quaestor will conclude that the TeLiTab depends on the multi-case parameter in the object and therefor will still make a TeLiTab for each case although Mode% might although Mode% might be 0. This can be resolved by using quotes arount the InpVars. See the second example below.

Examples

Mode%=0

If you have parameter A and B and relation

...


 2   "A" "B"
"1"    1   2
"2"    2   4
"3"    3   6
"4"    4   8
"5"    5  10
"6"    6  12
"7"    7  14
"8"    8  16
"9"    9  18
"10"  10  20

Mode%=0 inside an object 

If you have parameter A and B, the previous relation for C0# and relation:

...

You see that on the top level there is only one list parameter A with the value 1, and there are two table parameters B and C0#, with eacht C0# containing a list of A and a table of B. 
Althought we used Mode%=0, Every case of B has its own TeLiTab C0# with the same content. This is caused by the fact that B is a muti case value in the object B_Object and the TeLiTabC0# depends on it. As a result, Quaestor concludes that each case should have its value for C0#.

...

Now you see that on the tob level there are two list parameters A and C0# (with the same content as the first example) and there is only one table parameter B. Now there is only oneTeLiTab for A and all case of B, in correspondance with the Mode% used in the syntax.

Mode%=1

The previous relation is changed 

...