Re: New Constant Documentation
Re: New Constant Documentation
- Subject: Re: New Constant Documentation
- From: "Gary (Lists)" <email@hidden>
- Date: Fri, 15 Sep 2006 11:47:34 -0400
"email@hidden" wrote:
> Hi,
>
> Just helping out with the applescript grammar in Textmate [1] and we've come
> across some undocumented features (in the help docs at least.)
>
> First one is the constant | where you can use | to create a variable out of
> anything, even if its some other terminology.
>
> example:
>
> set |set| to "foobar"
> return |set|
This is a widely known feature of AS (perhaps 'undocumented', but I think
the public record is documentation also; I think this is also covered in
ASTDG, but I don't have my copy at my side right now.)
There need not only be one |word| either, as you can see from |some scripts
by kai| here on this list.
This may also be used as a handler identifier, also as exampled by kai.
"kai" wrote:
> on |path to my folder|()
Or am I missing something?
--
Gary
_______________________________________________
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