here is just another approach.
I'll have a look at that as well. Why doesn't the compiler have the ability to read a word? All of this extra code needed because I have to read words one character at a time! It would be the single most useful addition. I don't understand why compilers have no problems reading multi-digit numbers in one hit, but can't do the same with words.
I guess for several reasons:
- it would require char set handling, only a minority uses only a-z as possible chars in words
- language dependend problems: e.g. is "it's" in english one or two words?
- hyphens
- ...
_______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal