[Lazarus] Easiest way to "case" strings

Alexander Klenin klenin at gmail.com
Thu Mar 26 10:48:38 CET 2009


On Thu, Mar 26, 2009 at 17:56, Hans-Peter Diettrich
<DrDiettrich1 at aol.com> wrote:
> Alexander Klenin schrieb:
>
>> Since string was introduced as built-in "scalar" type with defined equality,
>> lack of 'case' support can be viewed as a design bug.
>
> IMO strings are similarly "scalar" as are floating point numbers, with
> regards to 'case'.

Note that I said "with defined equality". The reason 'case' should not include
floating point numbers is that equality if not usefully defined for them.

-- 
Alexander S. Klenin



More information about the Lazarus mailing list