Thread: Curious
View Single Post
  #20  
Old 03-05-2002, 12:16 AM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
Quote:
Originally posted by stomper_TK
Well they gave me this weird example for the Chapter 5 thingy.

I just have allways sucked ass at math also.. But I've someow exceeded Algebra.

NPC Code:

myvar = 1;
if (myvar==1) { ... }



I just did not get that stuff.
variables store numbers

the code sets the variable 'myvar' to 1

then if the variable 'myvar' is equal to 1, then it will execute the commands in the { ... }
__________________
[signature]insert here[/signature]
Reply With Quote