Re: Capitilization and OSX dictionary
Re: Capitilization and OSX dictionary
- Subject: Re: Capitilization and OSX dictionary
- From: Arthur J Knapp <email@hidden>
- Date: Sun, 21 Apr 2002 15:45:10 -0400
>
Date: Sun, 21 Apr 2002 15:59:29 +0100
>
From: has <email@hidden>
>
Subject: Re: Capitilization and OSX dictionary
>
Arthur J Knapp wrote:
>
> on GetPhrase(s)
>
> try
>
> return s's some paragraph's text some word thru some word
>
> on error number -1728
>
> return GetPhrase(s)
>
> end try
>
> end GetPhrase
>
Verrry slick. (I'm deducting a half-mark for use of meaningless
>
single-letter variable names; otherwise, a perfect A grade.:)
Right, because in a 7 line handler called "GetPhrase", which uses
references like "paragraph" and "word", there is just no telling what
kind of value "s" could possibly be...
;-)
{ Arthur J. Knapp, of <
http://www.STELLARViSIONs.com>
<
mailto:email@hidden>
try
<
http://www.acmetech.com/>
on error number -128
end try
}
_______________________________________________
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.