Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Thunderbuster
Novice


Joined: 07 Nov 2001
Posts: 45
Location: USA

PostPosted: Wed Oct 06, 2004 4:41 pm   

Is it possible to build a multi-demintional array?
 
I know that I can build a single dementional array that is much like a string list, but can I build a multi-dementional one...like in VB?

Mobs(12,1) where this would give me 12 different mobs, with room to store 1 field of data. I would like to stay away from the database methology.

Regards.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Wed Oct 06, 2004 9:29 pm   
 
The %array series of functions do not support multi-dimensions. The over all best suggestion is to use record variables, see #ADDKEY, #DELKEY, %db, #LOOPDB, etc. in the help. I know it is not what you really want to hear but it works very well.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Silencer
Newbie


Joined: 23 Aug 2004
Posts: 8
Location: Tamworth, Australia

PostPosted: Mon Oct 11, 2004 9:48 am   
 
No array of arrays?
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net