Re: "check syntax"
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