getting varible name not value

i want to set a variable to the name of another variable.

for example

set mainVar to "Some Value Here"
--now set another variable to the name of the previous.
set var2 to mainVar & " Has been set"

so that var2 would output "mainVar has been set"

Thanks in advance,
C

Mac MINI, Mac OS X (10.5.6)

Posted on Nov 18, 2009 11:34 AM

Reply
4 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

getting varible name not value

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.