DysoForums Forum Index DysoForums
 
GalleryGallery   Donate to DysotopiaDonate   Dysotopia.com homepageDyso.com
SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStats   RegisterRegister 
 Login to check your private messagesLogin to check your private messages   LoginLogin 

Logical Operator ==

 
Post new topic   This topic is locked you cannot edit posts or make replies    DysoForums Forum Index -> Worldbuilders
View previous topic :: View next topic :: Hide signatures  
Author Message
dreamin'
Hero


Joined: 11 Nov 2002
Posts: 625

Level: 22
XP
EXP: 51 / 59 EXP: 51 / 59 EXP: 51 / 59
 86%
PostPosted: Fri Jul 11, 2003 7:52 pm    Post subject: Logical Operator == Reply with quote

Hm, just noticed a strange thing:
In several scripts I wrote for my custom persistant merchant, I used a single "=" as equality test instead of "==". About 50 times actually. Funny thing is, the scripts still work.
Found that so weird that I had to share it icon_wink.gif

Edit:

Muhahahaa, that's the result of sleep deprivation. The instances where I was using = instead of == where SQL statements, not nwscript. Maybe I should get some sleep for the first time in a few days icon_lol.gif


Last edited by dreamin' on Fri Jul 11, 2003 7:54 pm, edited 1 time in total
Back to top
View users profile Send private message
Sep
Elder


Joined: 22 Apr 2003
Posts: 899

Level: 26
XP
EXP: 60 / 78 EXP: 60 / 78 EXP: 60 / 78
 76%
PostPosted: Fri Jul 11, 2003 7:54 pm    Post subject: Reply with quote

so, what youre saying is that:

=====

right?

and you thought that:

=!===


I laugh at you! evilimu.gif
_________________
"Here comes Halfling death!"
Back to top
View users profile Send private message
dreamin'
PostFri 07/11/03 7:56pm
That's one sexy little bunny  Reply with quote
 
Raven
PostFri 07/11/03 8:30pm
BLASPHEMY!  Reply with quote
 
Display posts from previous:   
Post new topic   This topic is locked you cannot edit posts or make replies    DysoForums Forum Index -> Worldbuilders All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.2 © 2001, 2002 phpBB Group