Re: Can you say this?

Originally Posted by
Ioannis
It sure compiled fine because regarding the syntax it is correct. It checks if x equals 1 and if true then it OR's it with 2.
Of course the result is not what you expect, but Henrik gave you the answer.
Ioannis
IF x and y = 3 then z = 4
IF x or y = 3 THEN z = 4
IF x OR y and z = 4 then z = 5
These all compile fine. Sometimes I miss the logic and since these do not throw any error, I loose time finding the mistake.
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
Bookmarks