• 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: New Constant Documentation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: New Constant Documentation
      • From: kai <email@hidden>
References: 
 >New Constant Documentation (From: email@hidden)

  • Prev by Date: RE: Image Events problem
  • Next by Date: Re: Mail signature script broken after X.3.4
  • Previous by thread: New Constant Documentation
  • Next by thread: Re: New Constant Documentation
  • Index(es):
    • Date
    • Thread