View Single Post
  #7  
Old 08-13-2001, 09:32 AM
kyle0654 kyle0654 is offline
-. .`
kyle0654's Avatar
Join Date: Mar 2001
Posts: 1,000
kyle0654 will become famous soon enough
Re: Re: Ok now why wont this work?

Quote:
Originally posted by Jerom

When you do random things, doesn't it also do decimals and not just whole numbers?
yep.

Also, the parts where you check stuff like this.dir=3 should be this.dir==3. Quick guide to where to use == as opposed to =:

if = is found inside:
if ()
while ()
or the second part of for ()
then use ==

otherwise, use =
Reply With Quote