Re: holidng another variable name within a variable

2012-06-14 Thread Richard Gaskin
dunbarx wrote: > The instances where this is needed were learned by experience, > frustration and luck. > > Same with embedded text, a variable within a variable, so to speak. > You must evaluate twice, as you did by longhand, or use a "do" > construction for brevity. When you need variable vari

Re: holidng another variable name within a variable

2012-06-14 Thread dunbarx
tainer". (HCHB, 4th edition). Craig Newman -Original Message- From: Dr. Hawkins To: How to use LiveCode Sent: Thu, Jun 14, 2012 11:23 am Subject: Re: holidng another variable name within a variable On Thu, Jun 14, 2012 at 8:08 AM, Mark Schonewille wrote: > Here's an

Re: holidng another variable name within a variable

2012-06-14 Thread Dr. Hawkins
On Thu, Jun 14, 2012 at 8:08 AM, Mark Schonewille wrote: > Here's an example: > > put "some text" into myVar > put "myVar" into myVarName > do "put" && myVarName && "into myLastVar" > put myLastVar --> some text Thanks. And then I tried value() a second time, and it did it. I'd forgotten all ab

Re: holidng another variable name within a variable

2012-06-14 Thread Mark Schonewille
Hi Richard, Here's an example: put "some text" into myVar put "myVar" into myVarName do "put" && myVarName && "into myLastVar" put myLastVar --> some text -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://tw