wavget.com Forum Index wavget.com
Message Board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Major bug in variables becoming linked together

 
Post new topic   Reply to topic    wavget.com Forum Index -> TypeItIn
View previous topic :: View next topic  
Author Message
Larryt97



Joined: 20 Apr 2010
Posts: 86
Location: Kansas City, MO

PostPosted: Fri Sep 24, 2010 11:35 am    Post subject: Major bug in variables becoming linked together Reply with quote

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
View user's profile Send private message AIM Address
Wavget
Site Admin


Joined: 07 Oct 2005
Posts: 508

PostPosted: Fri Nov 05, 2010 4:26 pm    Post subject: Reply with quote

It took a while, but this issue will be fixed in the next beta.

Paul.
Back to top
View user's profile Send private message Send e-mail
Wavget
Site Admin


Joined: 07 Oct 2005
Posts: 508

PostPosted: Thu Nov 11, 2010 12:35 pm    Post subject: Reply with quote

Beta 8 is now available with this issue fixed.

Thanks for letting me know about it.

Paul.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    wavget.com Forum Index -> TypeItIn All times are GMT - 5 Hours
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


Powered by phpBB © 2001, 2005 phpBB Group