|| OR
| simcacl | August 21, 2012 - 16:37 | ||
|---|---|---|---|
|
I have a supposed simple question:I using Igor 6.22 and I want use the OR operator || . I changed the # pragma to How can I write the simple statment: if (( a==0) || (b==0)) Have I to write Silent 101 somewhere??? |
|||

Joined: 2007-09-04
Location: United States
With either #pragma rtGlobals=1 or 2, and Igor6.23, the following works for me
Executing junk(1,0) command line, results in: 1 0
How is your code failing? Any error messages? Try inserting print statements (or use the debug window) to see how your code is flowing.
Joined: 2007-06-21
Location: United States
Compatibility mode applies to experiments created in Igor Pro 3 or earlier so unless you have ancient experiments you can ignore it.
For details: