Owner manual
5.7 Program instructions
746 VA Trace Analyzer / 747 VA Stand
5-206
Parameter Range; Default value / Meaning
Calc.f. A##; A##; A## (## = 01...15); -
Alternative results
If the test condition is met, the alternative results A## (max. 3) entered
here are activated, i.e. the corresponding formulae A##=..... on the
"CALCULATION" page are set to active for the calculation and marked
with an asterisk (*).
Either a space or the ; character must be entered between the A##
values.
Description The (CASE instruction opens a decision block which can contain any
type of instructions and is closed with the CASE) instruction. On the
basis of the test condition contained in the (CASE instruction as a
parameter (see (Test)), a decision is made during the program run
whether or not the instructions which follow in the block are executed:
• If the test condition is met (true), the instructions which follow in the
decision block are executed up to the next CASE, EXIT or CASE)
instruction and a jump then made to the end of the block.
• If the test condition is not met (false), the instructions which follow in
the decision block are ignored up to the next CASE, EXIT or CASE)
instruction.
As an option, alternative results can also be specified which should be
activated when the test condition is met (see Calc.f.).
Comments • Any number of CASE blocks (CASE ... CASE) in succession are
permitted in a program.
• Maximum 2 CASE blocks can be nested, i.e. a second case block
may be located within a CASE block.
• A CASE block may contain any number of additional CASE instruc-
tions. After the first CASE instruction whose test condition is met,
however, no further CASE instruction is tested and a direct jump
made to the end of the CASE block.
• For test conditions with evaluation values EV:<subst> or mass
concentrations MC:<subst>, it must be borne in mind that these
values are set to 0 if no evaluation was possible. This can be used for
detection of this specific case (see examples).