Macro Substitution

J. Landman Gay jacque at hyperactivesw.com
Thu Oct 12 16:17:27 EDT 2006


Robert Sneidar wrote:
> store "bobtest" to testme
> store "this is a test" to &testme.01
> 
> In Foxpro this would actually create a variable named bobtest01 and put 
> "this is a test" into it. Macro Substitution will substitute a variable 
> for it's value at runtime. There is no one liner I know of that could 
> reproduce this behavior in Revolution.

  put "bobtest" into tVar
  do "put" &&quote& "this is a test" &quote&& "into" && tVar & "01"


-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the Use-livecode mailing list