|
chris-74269 Magician
Joined: 23 Nov 2004 Posts: 364
|
Posted: 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 :) |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: 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.
|
|
|
|
|
|
|
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
|
|