• 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: Syntax error bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Syntax error bug?


  • Subject: Re: Syntax error bug?
  • From: John W Baxter <email@hidden>
  • Date: Wed, 27 Dec 2000 21:22:57 -0800

At 9:47 -0800 12/27/00, Allen Watson wrote:
>When constructing a handler with labeled parameters, there can be a "direct
>parameter", <optionally> preceded by the words "of" or "in". Both Smile and
>Script Editor seem to <require> one or the other word. That is an error, at
>least according to the AppleScript Language Guide. Script Editor chokes on
>this (supposedly correct) syntax, e.g.:

Script Editor doesn't care at all about the syntax of what you ask it to
have AppleScript compile. It passes AppleScript the text and gets back an
error code, and with luck the compiled code and the decompiled text (which
it displays). (I don't know about Smile)

With that out of the way, yes...it appears that an "in" or "of" is
necessary...at least now. And that doesn't match the modern AppleScript
Language Guide. [I don't remember the dark ages (1993), so I don't know
about early versions of AppleScript.] I don't know whether the Guide or
AppleScript is wrong (or if we're both missing something).

--John
--
John Baxter email@hidden Port Ludlow, WA, USA


References: 
 >Syntax error bug? (From: Allen Watson <email@hidden>)

  • Prev by Date: Finding records in FileMaker?
  • Next by Date: Re: applescript-users digest, Vol 2 #166 - 14 msgs
  • Previous by thread: Syntax error bug?
  • Next by thread: Re: Syntax error bug?
  • Index(es):
    • Date
    • Thread