Re: Syntax for OR
- Posted by Lnettnay Mar 04, 2015
- 1661 views
katsmeow said...
Use parentheses liberally, they come free with each OE installation.
if seqConn[1] = (1 or 3) thenI tend to use equal() on everything, saves crashing from unequal sequence lengths and other nonsense.
Kat
I'm sorry Kat, but that isn't correct.
(1 or 3) = 1 -- so if seqConn[1] = 3 -- then seqConn[1] = (1 or 3) will be false
Lonny