[Lazarus] errors: Upper bound of case range is less than lower bound and duplicate case label

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Jan 21 22:36:19 CET 2013


On Mon, 21 Jan 2013 22:19:58 +0100
Bart <bartjunk64 at gmail.com> wrote:

> On 1/21/13, Sven Barth <pascaldragon at googlemail.com> wrote:
> 
> >> Should case of string really allow ranges?
> >
> > THAT is an interesting question.
> 
> I think it should not.

The lower-than and greater-than operators are defined for
strings. Do you want to remove them too?


> Ranges for strings are (countably) infinite, and this is (by design)
> not the case in the case of other cases (pun intended).



Mattias




More information about the Lazarus mailing list