View Single Post
  #24  
Old 02-02-2004, 05:32 PM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
Quote:
Originally posted by -Ramirez-

...your point being? It's still going to be the same length as it would if it were assigned to a variable instead.
NPC Code:

if (blah in {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15})



NPC Code:

test={
1,2,3,
4,5,6,
7,8,9,
10,11,12,
13,14,15};
if (blah in test)


See a diffrence? The first is a lot longer, and LOOK more messy. I don't really want this to turn into a flame-war.
__________________
-Kjetil Valen
Reply With Quote