Adam Naumowicz wrote:
[...] I noticed that the compiler knows nothing about SetTextBuf declared in BP system unit I suppose.
Indeed. GPC's I/O system is different than BP's one. Imitating BP's low-level structures is not what we'd consider compatibility. Since you cannot rely on the contents of the assigned buffer variable anyway, better just drop those calls to `SetTextBuf'. Having said that, you can write a `SetTextBuf' procedure by yourself: Since you have access to the GPC Run Time System (RTS) you can examine how text file I/O works in GPC and write your own `SetTextBuf'. If it works well, be welcome to send it to us for integration into GPC. :-)
Or maybe the job to make GPC with -fBorlanf-Pascal switch to act like BP on basic stage is not completed ?
The switch does not turn on anything; it just switches off (warns about) GPC features not present in BP and switches off warnings about the use of certain BP misfeatures. Hope this helps, Peter -- http://home.pages.de/~Peter.Gerwinski/ - G-N-U GmbH: http://www.g-n-u.de Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-19990118 GnuPG key fingerprint: 9E7C 0FC4 8A62 5536 1730 A932 9834 65DB 2143 9422 keys: ftp://ftp.gerwinski.de/pub/keys/ - AntiSpam: http://spam.abuse.net