Re: referencing a variable from another?
Re: referencing a variable from another?
- Subject: Re: referencing a variable from another?
- From: Emmanuel <email@hidden>
- Date: Sat, 1 Feb 2003 07:34:35 +0100
At 9:24 PM -0500 31/01/03, James Burns wrote:
Hello:
I'm just starting out relearning AppleScript, Please bear with me.
I'm trying to use one variable, which contains the name of a second
variable, to change the value of the "named" variable. Make sense?
Could that sample of mine help you?
on PassVarByNameTest()
set varName to "x"
set x to pi
set y to run script ("get my " & varName)
end doit
PassVarByNameTest()
--> 3.1415926535897932364626
Emmanuel 'hoax'
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.