Re: minimum function? (Modified by Simon Forster)
Re: minimum function? (Modified by Simon Forster)
- Subject: Re: minimum function? (Modified by Simon Forster)
- From: jj <email@hidden>
- Date: Wed, 06 Apr 2005 23:10:39 +0200
>>> 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". :-)
I started calling my script-objects "a" because of "accelerator", and I
thought you were calling yours "o" because of "octopus" (?)
jj
* It should be some rules somewhere regarding these nomenclatures.
--
http://www.macscripter.net/
http://www.osaxen.com/
_______________________________________________
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