Logical operator isn't operating!
Posted: Sun Jan 18, 2009 5:02 am
Hello kind and helpful Rev users,
I'm trying to use the operator "greater than or equal to" in a script as follows:
put the first character of line x of field "theField" into whichChar
put charToNum(whichChar) into whatCase
if whatCase is >= 65 then
put whatCase into message
I get a compilation error at line (if whatCase...then) (Expression: double binary operator) near ">=", near character (the space before the 65).
What does "double binary operator" mean? (I tried compiling with only a ">" and still got the same error.) Where did I go wrong?
Thank you for any help!
I'm trying to use the operator "greater than or equal to" in a script as follows:
put the first character of line x of field "theField" into whichChar
put charToNum(whichChar) into whatCase
if whatCase is >= 65 then
put whatCase into message
I get a compilation error at line (if whatCase...then) (Expression: double binary operator) near ">=", near character (the space before the 65).
What does "double binary operator" mean? (I tried compiling with only a ">" and still got the same error.) Where did I go wrong?
Thank you for any help!