#199573 - 2010-08-15 06:22 AM
What the [Censored]?
|
Allen
KiX Supporter
   
Registered: 2003-04-19
Posts: 4567
Loc: USA
|
Can someone explain this...
@kix
$i=0
? ("test"<>$i)
? ($i<>"test")
The first test line returns 1 The second test line returns 0
Why? Shouldn't they return the same value?
|
|
Top
|
|
|
|
#199576 - 2010-08-15 03:14 PM
Re: What the [Censored]?
[Re: Sealeopard]
|
Allen
KiX Supporter
   
Registered: 2003-04-19
Posts: 4567
Loc: USA
|
I guess I should have put the comparison script in too...
@kix
$i=1
? ("test"<>$i)
? ($i<>"test")
Both test lines return 1 here...
|
|
Top
|
|
|
|
#199614 - 2010-08-17 01:04 PM
Re: What the [Censored]?
[Re: Lonkero]
|
BradV
Seasoned Scripter
  
Registered: 2006-08-16
Posts: 687
Loc: Maryland, USA
|
I saw it, but didn't want to make any smart remarks. Being from New Jersey is bad enough.
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
|