precedence of logical NOT

For notifying us of what you believe are bugs or errors in EViews.
Please ensure your copy of EViews is up-to-date before posting.

Moderators: EViews Gareth, EViews Moderator

maxchen
Posts: 191
Joined: Fri Oct 10, 2008 4:03 pm

precedence of logical NOT

Postby maxchen » Thu Jul 30, 2015 8:12 pm

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?

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: precedence of logical NOT

Postby EViews Glenn » Mon Aug 03, 2015 9:31 am

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.


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 2 guests