On Sun, 15 Aug 2010, david santini wrote:
I keep getting errors on my if statements. The program responds
"error evaluating if", as if it doesn't recognize the command,
yet turns red when i type it.
Here's the code I am using:
if state=13
delta=.38
[and so on].
"Error evaluating if" does not mean that the "if" keyword is not
recognized. It generally means that the boolean condition is
indeterminate because the value being tested is not valid (NA) or
is of the wrong type (it should be a scalar).
Put a print of "state" before the "if" business to check.
Allin Cottrell