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
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Sat Jun 05, 2010 8:25 pm   

[3.18d] Bug: assigning %db() to a variable within a script
 
In a blank session:
#addkey testvar a 1
output1 = %db(@testvar,"b")
#var output2 %db(@testvar,"b")
#call %db(@testvar,"b")

Basically, simply trying to access a key that doesn't exist is fine, but trying to assign that to a variable causes an access error. Also, trying to access the variable you assigned it to (output1 or output2) afterwards causes an access error.
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Jun 07, 2010 4:57 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