Page 1 of 1

precedence of logical NOT

Posted: Thu Jul 30, 2015 8:12 pm
by maxchen
EV9 20150728 x86

in User guide I p168, there is precedence order, but the logical "NOT" is absent

Code: Select all

pagecreate(page=prec) u 8 %a = "a" c = 100 c(1) = (not %a="b") '0 c(2) = (not (%a="b")) '1
question: the precedence order of logical "NOT", higher or lower than comparison?

Re: precedence of logical NOT

Posted: Mon Aug 03, 2015 9:31 am
by EViews Glenn
Higher.

The first example is the odd one since there's a mix of numeric and string types that I think is causing problems with parsing. We'll take a look.