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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Thu Sep 10, 2009 2:10 am   

[3.10]Bug: %arrset does not work
 
Following the example listed for %arrset, %arrset doesn't seem to be working at all.

#VAR a %array(1,"test","hello")
#CALL %arrset(a,5,"new")
#VAR a

returns:

Quote:
Variable: + a (Auto) <Array>|1|test|hello


Obviously not correct, and is the reason why one of the scripts I'm trying to convert doesn't work properly.

Charneus
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Thu Sep 10, 2009 7:51 pm   
 
This does appear to be a bug.

On your specific script, are you certain you want to use %arrset? This bug obviously does need to be addressed, but unless you are using COM calls you probably would be better served converting to stringlists instead of arrays, anyway.
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Thu Sep 10, 2009 10:20 pm   
 
For this particular script, %arrset seems to be the better route. I /could/ possibly put it into a stringlist, but then that means changing quite a few other things...

Charneus
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Fri Sep 11, 2009 6:22 pm   
 
Ah well, hopefully the bugfix can be quick.
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Sep 14, 2009 5:16 pm   
 
Confirmed and added to bug list.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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