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

Alexander Klenin klenin at gmail.com
Tue Jan 22 21:01:56 CET 2013


On Tue, Jan 22, 2013 at 7:20 PM, Bart <bartjunk64 at gmail.com> wrote:
> You cannot define ranges for Floats (they would be uncoutable infinite)

Huh? Actually, you can. Real number interval is a well-known
mathematical concept (see
http://en.wikipedia.org/wiki/Interval_%28mathematics%29),
so I would actually suggest that they should be added to "case" operator too.
Also note that, contrarty to "true" real numbers, floats are a finite set.

--
Alexander S. Klenin




More information about the Lazarus mailing list