
Software
93
end;
begin
Variable_Text:=
'Test';
Variable_Int:=10;
ShowMessage(VariabfunctionA(Variable_Int-5,
Varia5));
ShowMessage(VariabfunctionB);
end.
9.6.4.7
Flow Control
Flow control commands are used for loops and decisions in a sequence. With this commands
more complex sequences can be realized e.g. execute commands depending on a user decision
made by a dialog.
IF
If the
<condition>
is true then the commands between
then
and
end;
will be
executed.
if <condition> then
<command>
…
end;
Sample:
if 2 = 2 then
ShowMessage('2 = 2');
end;
IF / ELSE
If the
<condition>
is true then the commands between
then
and
else
will be
executed. If the
<condition>
is false then the commands between
else
and
end;
will
be executed.
if <condition> then
<command>
…
else
<command>
…
end;
Sample:
if odd(2) then
showMessage('True');
else
showMessage('False');
end;
Summary of Contents for 2830
Page 1: ...2830 2831 Precision Liquid and Solid Dielectric Analyzer User Manual 4843477 M Version 3 0 ...
Page 7: ...Introduction VII 17 Conformity 113 18 Notes 114 ...
Page 8: ...VIII Introduction ...
Page 121: ...Conformity 113 17 Conformity ...
Page 122: ...114 Notes 18 Notes ...
Page 123: ...Notes 115 ...