Section 7.  Creating and Editing Datalogger Programs 
Errors That Can Occur With Expressions 
Some of the error messages that occur when using expressions need no further 
explanation: 
Missing left parenthesis 
Missing right parenthesis 
Variable name expected 
Number expected 
Floating point numbers limited to 5 digits 
Function expected 
New line expected 
Equal sign expected 
Other errors are explained below. 
Variable Name Expected 
This message occurs when the expression is not set equal to an Input Location 
label.  The label must be to the left of the expression and not enclosed in 
parentheses.  An expression that contains no equal sign causes compiler error 
202, “unrecognized text”. 
For Example: 
“Variable name expected” is displayed when a program contains any of these 
expressions: 
5=el*(Vee+en) 
(lambda) = COS(theta) 
10–(zee/2)=bee 
These are correct ways of entering the above expressions: 
five=el*(Vee+en) 
lambda = COS(theta) 
bee=10–(zee/2) 
Number Expected 
Indicates one of the following situations: 
(1)  An expression with a /, *, or ^ operator is missing a number or label 
before and/or after the operator.   
(2)  An expression with a + or – operator does not have a number or label after 
the operator.   
(3)  An expression with an @ operator does not have a number after the @; 
only a fixed number is allowed immediately after the @ operator. 
(4)  An expression with an @ operator does not have either a number or label 
before the @. 
(5)  There is nothing between a pair of parentheses (e.g., the expression 
contains this “()”). 
(6)  A number is immediately followed by a label or function without an 
operator (e.g., an expression containing “8label” gets this error message). 
7-61