Re: minimum function? (Modified by Simon Forster)
Re: minimum function? (Modified by Simon Forster)
- Subject: Re: minimum function? (Modified by Simon Forster)
- From: Nigel Garvey <email@hidden>
- Date: Wed, 6 Apr 2005 21:40:37 +0100
Paul Berkowitz wrote on Wed, 06 Apr 2005 11:45:33 -0700:
>> There's an obscure mention
>> of this trick in the ASLG, and Emmanuel Levy's [IIRC] script object
>> kludge is the best - or rather, least nasty - way to do it.
>
>Not Emmanuel, another Frenchman: Serge Belleudy-d'Espinose, discovered the
>script object trick - which works (and is required) in handlers
>(subroutines) only. At the top level of a script, 'my [list]' works
>identically, as discovered by Nigel Garvey. ('my' of course will also work
>in handlers if the list has been declared as a property or global, not
>usually recommended.) Both script object and 'my' are actually quicker than
>'a reference to' mentioned "obscurely" in the ASLG, as shown by Nigel.
Right. It was Serge who first (or, at least, most famously) brought up
the fact that access to lists was faster if they were in script objects.
I made the link between that and the 'reference' references in ASLG,
noting the 'my' variation in the process. I think it was Arthur Knapp who
first started calling script objects "o". :-)
NG
_______________________________________________
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