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
chris-74269
Magician


Joined: 23 Nov 2004
Posts: 364

PostPosted: Thu Mar 25, 2010 3:16 am   

[3.14a] Variables losing type when assigned to another variable
 
Enter this in command line:

#var test 0;#call %vartype(test,3);#print %vartype(test);test=5;#print %vartype(test)
#var test 0;#call %vartype(test,3);#print %vartype(test);testa=5;#call %vartype(testa,3);test=@testa;#print %vartype(test)

Hopefully this is linked somehow to variables leaving their scope :)
Reply with quote
Zugg
MASTER


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

PostPosted: Thu Mar 25, 2010 4:40 pm   
 
It has nothing to do with "variables leaving their scope". It's a simple bug with maintaining a variables type when assigning a new value. 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