About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 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
GeneralStonewall
Magician


Joined: 02 Feb 2004
Posts: 364
Location: USA

PostPosted: Fri Jun 11, 2010 2:19 am   

[3.19] BUG: Access violation with #var
 
I get an 'Error parsing command: Access violation' error with the following script:

Code:
testvar = %null
#2 {
  #VARIABLE {testvar} %additem( "blah", @testvar)
  #VARIABLE {testvar.test} %additem( "blah", @{testvar.test})
  }
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Fri Jun 11, 2010 3:48 pm   
 
Confirmed.
_________________
Asati di tempari!
Reply with quote
Zugg
MASTER


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

PostPosted: Fri Jun 11, 2010 5:42 pm   
 
Btw, it doesn't effect the bug, but you don't need to put the variable name within {}. Also, the #2 is not needed to reproduce the crash. I get the crash with just:
Code:
testvar = %null
#VARIABLE testvar %additem( "blah", @testvar)
#VARIABLE testvar.test "blah"
Reply with quote
Zugg
MASTER


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

PostPosted: Fri Jun 11, 2010 5:55 pm   
 
This was related to the issue about converting a string list into a database variable. The last line is adding a key to a string list, which causes the list to be converted to a keyed table. So it was related to the bug talked about in the other thread with #SHOWDB.
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