About SetCompVar - Forum

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

About SetCompVar

I didn't understand how SetCompVar works. Help is very meager.
Can you give me an example?
Thank you

@blustar SetCompVar was designed to work as composed variables work on VisualNEO Win. It replaces part of a variable name with the content stored in another variable.  Try this code in a Button object:

SetVar [var1] "final"
SetCompVar [var[var1]] "Hi, this is text content"
jsAlert [varfinal]

Regards

 

javadrajabihakami has reacted to this post.
javadrajabihakami