
92
Software
This function calculates the cosine of
<AVal>. <AVal> is to be entered in
radians.
ArcTan(AVal: Double): Double;
Arc tan
This function calculates the arc tan of
<AVal>. The result is given in radians.
Int(AVal: Double): Integer;
Integer
This function discards the fractional part
of <AVal> and returns the whole number
of <AVal>.
Odd(AVal: Integer): Boolean;
Odd
This function specifies whether <AVal> is
odd (True) or not (False).
Round(AVal: Double): Integer;
Rounding
This function converts <AVal> of the
Double type into a variable of the Integer
type by rounding.
Min(AVal, BVal: Double): Double;
Minimum
Check which of the two values <AVal>
and <BVal> is the less one and return it as
the result.
Max(AVal, BVal: Double): Double;
Maximum
Check which of the two values <AVal>
and <BVal> is the greater one and return it
as the result.
UserFunction(Value1, …, ValueN: Datatype; ValueA, …, ValueX: Datatype) :
ReturnValueDatatype;
The user has the possibility to program is own functions e.g. for an often used command
sequence. The declaration of the user function has to be made before the keyword
begin
. A function can have input parameters like <Value1> … <ValueA> but they have to
return a value.
To return a value use the name of the function like a variable and assign the result to it.
Sample:
var
Variable_Text:
string;
Variable_Int:
integer;
function functionA(A,B: integer): string;
begin
functionA:=AddInt(A+B,3);
end;
function functionB: string;
begin
functionB:=AddInt(1,1);
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 ...