04-27-2010, 03:08 PM
Here is a interesting question! :roll:
str s="apple"
str apple ;; varable name is determined by variable content of s.
Can QM create a name of variable by the content of another variable?
like the above example, moreover
int i=2; str s="apple"
Automatically, to create a variable's name through concatenatig i and s variables
the new variables should be similar to
str apple2="any word"
str applepie="other words"
out apple[2]
out apple[pie] ;; the suffix "2" or "pie" are added to "apple" to form a new variable
=========================
Can QM system functions allow variable names to be concatenated through any combination of character
expressions, numeric expressions, or existing variables?
str s="apple"
str apple ;; varable name is determined by variable content of s.
Can QM create a name of variable by the content of another variable?
like the above example, moreover
int i=2; str s="apple"
Automatically, to create a variable's name through concatenatig i and s variables
the new variables should be similar to
str apple2="any word"
str applepie="other words"
out apple[2]
out apple[pie] ;; the suffix "2" or "pie" are added to "apple" to form a new variable
=========================
Can QM system functions allow variable names to be concatenated through any combination of character
expressions, numeric expressions, or existing variables?