Hi Thaddy,
I don't believe i disagreed with what you stated. Even stronger, i will state here that you are correct.
However, seeing the level on which topic starter was/is operating, i don't disagree with sam707's remarks either.
The initial question did not seem to hint or implied a request to complicate things with unnecessary subjects such as byte encoding. And yes, your opinion stating otherwise was/is dearly noted.
Do you really expect all (simple) examples to provide warnings like: This code is not re-entrant, not thread safe, will not play avi files, does not support flac, will not cook your cat in the micro wave ? Because that is also what that code is (not) doing, and i believe is what sam707 was also (partial) hinting at.
Or was it just this particular example that got your attention ?
It is about a given example being wrong or incomplete given the status of the compiler today and already for some time
And a genuine question from my side in return (with no ulterior motives, it just occurred to me and seems to fit the context): it must be tormenting for you to read (if even) the free pascal / lazarus manuals and wiki ?