Page 1 of 1 1
Topic Options
#78980 - 2002-06-20 11:49 AM BUG: Operator precedence changed.
Richard H. Administrator Offline

Registered: 2000-01-24
Posts: 4945
Loc: Leatherhead, Surrey, UK
$x=not 0 and not 1
? $x

Returns "0" under KiXtart 4.00, but "1" under KiXtart 4.10 RC2.

[ 20 June 2002, 11:59: Message edited by: Richard Howarth ]

#78981 - 2002-06-21 12:04 AM Re: BUG: Operator precedence changed.
MCA Offline
KiX Supporter

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU

For the complete story see topic

Problem with operator not (unexpected evaluation of expression

email homepage | Links | Summary of Site Site KiXforms FAQ library collection mirror MCA | FAQ & UDF help file UDF library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

#78982 - 2002-06-20 01:18 PM Re: BUG: Operator precedence changed.
Lonkero Administrator Offline
KiX Master Guru

Registered: 2001-06-05
Posts: 22332
Loc: OK
a peace of a post from ruud gives pretty much so I place it here:
I in fact changed the precedence of NOT in 4.10 (it was broken before), but clearly not good enough yet. The 'not 0 and not 1' was effectively being evaluated as 'not (0 and not 1)', which obviously is not the same thing at all...

I've fixed this in the final build (due out soon).

Thanks for the heads-up on this one!



download KiXnet

Page 1 of 1 1

Moderator:  ShaneEP, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 158 anonymous users online.
Newest Members
anhkfr, adamlevine, katherinknul, phamthuy, xuantu075
17631 Registered Users

Generated in 0.039 seconds in which 0.022 seconds were spent on a total of 12 queries. Zlib compression enabled.