|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Sat Jan 20, 2007 6:51 pm
[1.24] Multiple Variables in Disable Class |
This may be by design, but I think it's a bug. At the very least it's not what I expected.
If you create a variable in a disabled class multiple times that several variable instances are created rather than just updating the single instance as expected.
Create a class called test.
Then create the following aliases.
#alias test1 {#VAR testvar test1 {} test}
#alias test2 {#VAR testvar test2 {} test}
When the class is enable and you called test1 and test2 several times, you will only see one variable when you are finished, with the last value of what you entered. If the class is disabled and you called test1 and test2 several times you will see several variables there with that name and different values of test1 or test2 accordingly. |
|
_________________ Asati di tempari! |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Sat Jan 20, 2007 7:12 pm |
Confirmed. If you apply the fix I mention in the other thread, changing {} for _nodef, though, the bug vanishes. Very strange.
|
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Jan 22, 2007 6:33 pm |
Added to bug list.
|
|
|
|
|
|