Re: Alphabetizing a List
Re: Alphabetizing a List
- Subject: Re: Alphabetizing a List
- From: Emmanuel <email@hidden>
- Date: Mon, 28 May 2001 14:19:17 +0200
I got caught with this old trap.
I posted a "on sort(l)" handler a few hours ago.
Its first line should read
------------------------------
if length of l <= 1 then return l
------------------------------
This is: "length of l lower than or equal to 1".
NOT (as NG's thorough eyes kindly noticed):
------------------------------ erroneous -- erroneous -- erroneous -- erroneous
if length of l > 1 then return l
------------------------------
I originally used the special "lower than or equal to" character (on the
French keyboard, it's option-<), but unfortunately it translates (on
ASUsers) into its exact contrary, i.e. greater than ">" !!!
Best regards,
Emmanuel