Re: Passing *possible* variables to a handler
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.