Post Reply 
is AND broken?
10-11-2015, 05:06 AM
Post: #2
RE: is AND broken?
(10-11-2015 01:23 AM)ji3m Wrote:  I have very mysterious problems with the AND function in a program if statement.

The program misbehaves until i remove the AND and use two ifs.

E.e

IF ((expr1) AND (expr2)) THEN ....

fails with bad argument error somewhere in the code.

IF (expr1) THEN
IF (expr2) THEN
......

make the gremlins go away.

Seems odd.

You can place a DEBUG; statement right before where you think the error occurs and then run the program and this will pull up the debugger so you can see the real cause.

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
is AND broken? - ji3m - 10-11-2015, 01:23 AM
RE: is AND broken? - Han - 10-11-2015 05:06 AM
RE: is AND broken? - Didier Lachieze - 10-11-2015, 05:35 AM
RE: is AND broken? - toml_12953 - 10-14-2015, 02:09 AM



User(s) browsing this thread: 1 Guest(s)