holidng another variable name within a variable

Mark Schonewille m.schonewille at economy-x-talk.com
Thu Jun 14 11:08:01 EDT 2012

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://twitter.com/xtalkprogrammer
KvK: 50277553

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com

On 14 jun 2012, at 17:02, Dr. Hawkins wrote:

> It seems to me, that back in the mists of time, I used a variable to
> hold the name of another variable in hypercard and supercard 1.5.
> Is this possible?  Or is it my memory?
> So I would put "fred" into theVar, and use
> put theVar  to get the value of Fred.
> but this doesn't seem to work
> -- 
> The Hawkins Law Firm
> Richard E. Hawkins, Esq.
> (702) 508-8462
> HawkinsLawFirm at gmail.com
> 3025 S. Maryland Parkway
> Suite A
> Las Vegas, NV  89109

More information about the Use-livecode mailing list