• 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: Variable names on the fly?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Variable names on the fly?


  • Subject: Re: Variable names on the fly?
  • From: Paul Berkowitz <email@hidden>
  • Date: Mon, 15 Jan 2001 20:57:31 -0800

On 1/15/01 8:52 PM, I wrote:

> On 1/15/01 5:24 PM, "Emmanuel" <email@hidden> wrote:
>
>> At 0:39 +0100 16/01/01, as digestion wrote:
>>> set monthNum to mMonth of monthProps --ERROR
>>
>> What you really mean is:
>>
>> ---------------
>> run script ("set monthNum to " & mMonth & "of monthProps")
>> ---------------
>>
>
> Umm, did you try that, Emmanuel?

Even putting in the missing space before "of" (should be " of"), that is?
The "script" being run doesn't know anything about the variable monthProps
in the main script, so it fails. I tried making a script object, but it
didn't help, though maybe there's a better way than what I tried.

--
Paul Berkowitz


References: 
 >Re: Variable names on the fly? (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: Variable names on the fly?
  • Next by Date: Re: Variable names on the fly?
  • Previous by thread: Re: Variable names on the fly?
  • Next by thread: Variable creation by script
  • Index(es):
    • Date
    • Thread