Thread: Arrays
View Single Post
  #7  
Old 09-22-2003, 01:25 AM
SaijinGohan SaijinGohan is offline
Registered User
SaijinGohan's Avatar
Join Date: Jul 2001
Location: U.S.A - Ohio
Posts: 536
SaijinGohan is on a distinguished road
Send a message via AIM to SaijinGohan Send a message via MSN to SaijinGohan
Quote:
Originally posted by DustyPorViva

NPC Code:
setarray this.test,5;


would then create the variable:
NPC Code:
this.test={0,0,0,0,0};


And then you could manually access each value by:
NPC Code:
this.test[2]=8;


would make the third value eight.
But you cant

this.test[2]=8;

until you

setarray this.test,5;
__________________

Job: A Legend

And you think that you have played Graal forever? Ha!
Reply With Quote