Orlando Llanes wrote:
BlockRead and BlockWrite only work with untyped files (simply `File'), not typed files (`File of Byte'), just like in BP. So try:
I get a bunch of weird parsing errors if I only use FILE, besides, the
problem was not that the file was not being read, the problem is that BlockRead is not being recognized as a built-in routine.
Well, BlockRead will be rejected for typed files at compile time, not at run time...
Anyway, please be more specific with your descriptions: what errors do you get with the original and the modified test program? Are you sure you're using the correct GPC -- try `gpc -v', and especially check if gpc1.exe (the actual compiler) is current. (ISTR, there were some directory changes under DJGPP recently that might cause an older previously installed version to be used...)
-- Frank Heckenbach, frank@fjf.gnu.de http://fjf.gnu.de/ PGP and GPG keys: http://fjf.gnu.de/plan