• 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: "check syntax"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "check syntax"


  • Subject: Re: "check syntax"
  • From: Jean-Christophe Helary <email@hidden>
  • Date: Wed, 29 Mar 2017 20:35:55 +0900

> On Mar 29, 2017, at 20:25, Shane Stanley <email@hidden> wrote:
>
> On 29 Mar 2017, at 10:15 pm, Jean-Christophe Helary <email@hidden> wrote:
>>
>> SE has a "check syntax" command in it's dictionary but the corresponding function is not available form the menu. Is there a reason why "compile" is preferred over "check syntax"?
>
> They're the same think. In the early days of AppleScript, Script Editor used the term "Check Syntax" in its UI as well. Presumably was considered more non-programmer friendly, and AppleScript code is not compiled in the strict sense.

I see.

"check syntax" does not return anything and "compile" returns a boolean. So I guess that's the main difference. Thank you.

Jean-Christophe
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden


References: 
 >"check syntax" (From: Jean-Christophe Helary <email@hidden>)
 >Re: "check syntax" (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: "check syntax"
  • Next by Date: Applescript and emacs :)
  • Previous by thread: Re: "check syntax"
  • Next by thread: Applescript and emacs :)
  • Index(es):
    • Date
    • Thread