User Manual

58 General program functions
Error
Syntax
y = Error(value)
Returns
+1 if Value invalid (error) or 0 if Value valid. This function can be
used, for example, to check whether variables exist or if they are valid.
Parameters
Value
The variable to be tested.
Examples
Error('RS.InterRes') = 0: the intermediate result could be calculated.
Error('RS.InterRes') = 1: the intermediate result is invalid.
Error('DET pH 6.EP{1}.MEA') = 0: the variable for the measured value at
Endpoint 1 exists.
Error('DET pH 6.EP{1}.MEA') = 1, no variable exists for the measured value or
no EP is present.
ASCII table
Only characters that can be printed out are shown in the following table:
ASCII
value
(dec)
Character ASCII
value
(dec)
Character ASCII
value
(dec)
Character
32 Blank character 64 'At' sign (@) 96 Accent grave (`)
33 Exclamation mark
(!)
65 A 97 a
34 Inverted commas (") 66 B 98 b
35 Lozenge (#) 67 C 99 c
36 Dollar ($) 68 D 100 d
37 Percent (%) 69 E 101 e
38 Ampersand "and"
(&)
70 F 102 f
39 Inverted comma (') 71 G 103 g
40 Open round brack-
ets (()
72 H 104 h
41 Close round brack-
ets ())
73 I 105 i
42 Multiplication sign
(*)
74 J 106 j
43 Addition sign (+) 75 K 107 k
44 Apostrophe (ยด) 76 L 108 l
45 Subtraction sign (-) 77 M 109 m
46 Full stop (.) 78 N 110 n
47 Slash (/) 79 O 111 o
48 0 80 P 112 p
49 1 81 Q 113 q