About variable in variable name - Forum

Forum Navigation
You need to log in to create posts and topics.

About variable in variable name

Is "VisualNEO for WebApps & Mobile" a way to incorporate variables into variable names like "VisualNEO for Win"?

Example: [test [x]]

In the current version this is not possible, but I'm quite sure it could be accomplished in the upcoming version.
Let me do some experiments. I will keep you informed in this thread.

Regards.

Thank you for your reply. I understand that it can not be done with the current version. I am expecting future version upgrades of software.

Take a look at this code for the current version.
It is not exactly the same than in VisualNEO Win but perhaps it can do the work.
What do you think?

BeginJS
  $App.myobj= new Object();
EndJS
SetVar [myobj('name')] "John"
SetVar [myobj('age')] 43
SetVar [nombre] "name"
SetVar [edad] "age"
AlertBox "Result:" "[myobj([nombre])] - [myobj([edad])]" ""

In next version there will be an action for creating objects, so it will be not necessary to use JavaScript.

 

Adham has reacted to this post.
Adham

Thank you for telling me one way to respond. I will try this method.