Re: [fpc-pascal] Reading and writing char

2011-10-06 Thread Tomas Hajny
On Thu, October 6, 2011 10:21, Thomas Young wrote: > > Thank you for the article. It was very helpful. > > Why is it I can read and write a string that contains characters in the > upper 128 but can't read & write them as individual char? This is most probably due to the fact that your platform us

Re: [fpc-pascal] Reading and writing char

2011-10-06 Thread Thomas Young
Thank you for the article. It was very helpful. Why is it I can read and write a string that contains characters in the upper 128 but can't read & write them as individual char? Specifically I need to read the copyright (169), trademark (170) and registration (168) characters. Any suggestions

Re: [fpc-pascal] Reading and writing char

2011-10-06 Thread Marco van de Voort
In our previous episode, Thomas Young said: > For some reason I'm not able to read and write ascii characters above > ascii 127 with FPC. Can someone explain this to me? This is very logical, since ASCII only defines +/- 127 chars. The upper 128 were used for vendor specific characters (aka code

Re: [fpc-pascal] Reading and writing char

2011-10-05 Thread David Emerson
On Wed 5 Oct 2011, Thomas Young wrote: > Hi, > > I'm trying to read and write ascii characters using FPC. I had no problems > doing this years ago with Think Pascal & Code Warrior. > > For some reason I'm not able to read and write ascii characters above ascii > 127 with FPC. Can someone explain