|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Thu Jun 17, 2010 1:20 pm
[3.19f] BUG: %additem("something",$localvar) |
%additem("something",$localvar) is using $localvar as both a local variable value and as the name of a regular variable to assign to.
Code: |
<alias name="test1" id="315">
<value>#local $intersection
#forall {a|b|c|d} {
$intersection = %additem(%i,$intersection)
}
#show $intersection</value>
</alias>
|
This will correctly display the final value of $intersection, "a|b|c|d", but it will also create variables named "a", "a|b", and "a|b|c" |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Thu Jun 17, 2010 4:37 pm |
Wow, that's definitely a weird one. Confirmed and 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
|
|