• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Creating variables with names from other variable values ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating variables with names from other variable values ?


  • Subject: Re: Creating variables with names from other variable values ?
  • From: cedrik <email@hidden>
  • Date: Sat, 19 Mar 2005 15:33:46 +0100

Already checked the language guide, the scope of variables , concatenation
etc.

Ive come across something like this:
(myVar as string) but this wont work either.

Maybe theres something like:
set {""&myVar} to myValue - but i cant find it !


On 3/19/05 2:44 PM, "Doug McNutt" <email@hidden> wrote:

> At 14:26 +0100 3/19/05, cedrik wrote:
>> set myVar to "width"
>> set myValue to 80
>> Now i wanna have the variable "width" with a value of "80".
>
> set width to 80
>
> is the obvious answer but I think that's not what you mean. Name - value
> pairs, as in environment variables and HTTP POST and GET protocols are
> different.
>
> Have a look at the AppleScript record format. It's a bit like a list and a bit
> like a perl hash. The AppleScript Language Guide is a start.
>
>> Applescript ist sometimes weird for a php programmer......
>
> Ditto for FORTRAN, perl, C, C++, Basic, MPW . . . . .


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Creating variables with names from other variable values ? (From: Doug McNutt <email@hidden>)

  • Prev by Date: Re: Creating variables with names from other variable values ?
  • Next by Date: Re: iCal organization with dates & events & lists....
  • Previous by thread: Re: Creating variables with names from other variable values ?
  • Next by thread: Re: Creating variables with names from other variable values ?
  • Index(es):
    • Date
    • Thread