| View previous topic :: View next topic |
| Author |
Message |
Larryt97
Joined: 20 Apr 2010 Posts: 81 Location: Kansas City, MO
|
Posted: Fri Sep 24, 2010 11:35 am Post subject: Major bug in variables becoming linked together |
|
|
It appears as if the value of variables are staying linked together when using {Var2={Var1}}.
{Var1=1}
{Var2={Var1}}
{Var1=3}{***Var2 also changes to the value of 3***}
{Var5=?Var1={Var1} Var2={Var2}}
The above code should print out in a dialog box "var1=3 var2=1" but both Var1 and Var2 are being set to value of 3.
{Var1=1}
{Var2={Var1}}
{Var1+3}{***Happens with incrementing the value also***}
{Var5=?Var1={Var1} Var2={Var2}}
Same thing happens using incrementing a variable...The above code should print out in a dialog box "var1=4 var2=1" but both Var1 and Var2 are being set to value of 4.
-----------------------------------
I did find a fix for this 'linked' variables
if you do a {VarX+0} it unlinks the variables...
{Var1=1}
{Var2={Var1}}
{Var2+0}{***<---unlinks var2 from var1***}
{Var1=3}
{Var5=?Var1={Var1} Var2={Var2}}
Althought the {Var2+0} does not do anything it unlinks it from Var1. If I put the {Var2+0} after changing the value of Var1 then Var2 still changes with Var1 indicating they are still linked. |
|
| Back to top |
|
 |
Wavget Site Admin
Joined: 07 Oct 2005 Posts: 504
|
Posted: Fri Nov 05, 2010 4:26 pm Post subject: |
|
|
It took a while, but this issue will be fixed in the next beta.
Paul. |
|
| Back to top |
|
 |
Wavget Site Admin
Joined: 07 Oct 2005 Posts: 504
|
Posted: Thu Nov 11, 2010 12:35 pm Post subject: |
|
|
Beta 8 is now available with this issue fixed.
Thanks for letting me know about it.
Paul. |
|
| Back to top |
|
 |
|