Joop,


I’m quite surprised to hear that syntax worked in any previous versions, and if 
it did, I’m not sure when it changed.



When you have constructed variable names like that, you usually have to use the 
longhand @VAR, rather than the @@ shorthand.



This should work:



<@FOR START="1" STEP="1" STOP="@@USER$child5">

<@VAR user$LEVEL_data<@CURROW>[<@CURROW>,4]> / etc

</@FOR>



Robert



From: [email protected] [mailto:[email protected]]
Sent: Monday, January 19, 2015 6:03 AM
To: [email protected]
Subject: TeraScript-Talk: Use of variable in a variable name does not work



I can declare a variable like this :

Action:

<@FOR START="1" STEP="1" STOP="5">

<@ASSIGN NAME="Level_data<@CURROW>" VALUE="@@Resultset" SCOPE="User">

                </@FOR>



But when I want to display the variable by means of a for next loop and use the 
counter to select the right variable it does not work.

<@FOR START="1" STEP="1" STOP="@@USER$child5">

@@user$LEVEL_data<@CURROW>[<@CURROW>,4] / etc

</@FOR>

It displays :    the current row number [current Row number,4]



In earlier versions of Tango it was working fine.

My version of WITANGO is version 6 and WITANGO development studio 6.0.7



Can anyone explain what’s wrong or is it solved in version 7 of terascript.



Thanks

Joop



  _____

To unsubscribe from this list, please send an email to [email protected] 
<mailto:[email protected]>  with "unsubscribe terascript-talk" in the 
body.




----------------------------------------

To unsubscribe from this list, please send an email to [email protected] 
with "unsubscribe terascript-talk" in the body.

Reply via email to