Thread: Arrays
View Single Post
  #4  
Old 09-21-2003, 10:48 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally posted by protagonist
Setarray makes string arrays. It's ideal for text or a mixture of text and numbers.
setarray makes variable arrays, not string.

Oh and setarray:

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.
Reply With Quote