• 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: Passing *possible* variables to a handler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Passing *possible* variables to a handler


  • Subject: Re: Passing *possible* variables to a handler
  • From: email@hidden
  • Date: Wed, 17 Jul 2002 20:40:14 -0400

On Wed, 17 Jul 2002 13:53:46 +0100,
has <email@hidden> wrote,

> Nigel Garvey wrote:
[...]
> > on handler1(val1, val2)
> > script obj
> > property prop1 : val1
> > property prop2 : val2
> >
> > on privateHandler(val3) -- dummy handler :-)
> > [...]
> > end privateHandler
> > end script
> > end handler1

> Ey lad, looks like you've almost incidentally discovered constructor
> functions (except that your example above doesn't actually return the
> script object created).

Actually, it almost does. Oddly, "script obj...end script" doesn't set
'result', but an anonymous "script...end script" does.
--
Scott Norton Phone: +1-703-299-1656
DTI Associates, Inc. Fax: +1-703-706-0476
2920 South Glebe Road Internet: email@hidden
Arlington, VA 22206-2768 or email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Free AS training in Adobe apps
  • Next by Date: iCal?
  • Previous by thread: Fwd: Re: Passing *possible* variables to a handler
  • Next by thread: Re: Passing *possible* variables to a handler
  • Index(es):
    • Date
    • Thread