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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Yodous
Apprentice


Joined: 23 Jun 2004
Posts: 105
Location: Poland

PostPosted: Sat Sep 26, 2009 4:57 pm   

Multidimension arrays
 
Hi there.
I have read some topic related to 'multidimension', 'multi dimensions' etc on this site. But I can't find any answer from Zugg why they aren't implemented.
For example I have some records, that needs to store at least 3 records. In that case I can't use database record becouse it is a map structure (key => val).
I neither want to use DB becouse, like Zugg has written in some topics, it was designed to interact with scripts and it minus is to always remember to open DB window (and I want to eliminate this need to always click it).

As far as I know, I have to write some semi-dimensions array by myself using for example string list and some separator + my functions. Of course save the variables between sessions is required.

Is there any hope, that multi dimensions array will appears in next version of cMud?
Best regards
Yodous
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Sep 28, 2009 3:51 pm   
 
There are no plans to add multi-dimensional arrays to zScript. You can use the Lua scripting instead, since Lua has multi-dimensional arrays.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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