[fpc-pascal]blockread in a procedure
Marco van de Voort
marcov at stack.nl
Sun Feb 29 13:57:02 CET 2004
> On Sun, 29 Feb 2004, David Emerson wrote:
> > end.
> > If I get rid of the procedure read_source_file and put its code directly
> > into the main "begin end." then it works. So for some reason, suddenly
> > it can't stand having blockread inside a procedure. I haven't touched
> > the procedure or any of the constants/variables associated with it in a
> > long time, so it's bizarre that it suddenly decided to fail.
> did you change the compiler, or one of the compiler flags ?
It could be the copy(array of char). It was bugged in 1.9.x too, and got
fixed somewhere in august-september (it was pretty much the bug that prevented
the compiled twsocket from working).
IOW, try 1.9.2
More information about the fpc-pascal