|| OR

I have a supposed simple question:I using Igor 6.22 and I want use the OR operator || .
I understood that ther eis some problem related to the compatibility mode bu I don't really get the point

I changed the # pragma to
#pragma rtGlobals=2
but I doesnt work?

How can I write the simple statment:

if (( a==0) || (b==0))

Have I to write Silent 101 somewhere???
Thanks
With either #pragma rtGlobals=1 or 2, and Igor6.23, the following works for me

function junk(a, b)
    variable a, b
    if( (a == 0) || (b == 0))
        print a, b
    endif
end


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.
Compatibility mode applies to experiments created in Igor Pro 3 or earlier so unless you have ancient experiments you can ignore it.

For details:
DisplayHelpTopic "Old-Style Comments and Compatibility Mode"