On 1/22/13, Alexander Klenin <kle...@gmail.com> wrote: > On Tue, Jan 22, 2013 at 7:20 PM, Bart <bartjun...@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
I did hope the context made it clear I meant range as in Ordinal. > Also note that, contrarty to "true" real numbers, floats are a finite set. Of course. Also, Strings (as defined in Pascal currently) are also not infinite, due to length limitation. So, my argument was meant as some sort of philosophical perspective. I really don't care wether fpc implements it or not. In the manner used by OP I would never use it, since it makes the code more diffcult to understand (just because of the ranges and the way < and > act on strings). IMO Case should be used to make code more understandable. Bart -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus