[fpc-pascal] fpwrite buffers issues

Vincent Snijders vsnijders at quicknet.nl
Fri Oct 12 12:47:43 CEST 2007


ik schreef:
> Hi Sorry for the delay in responding
> 

Some remarks at first glance:
	for m := 0 to readcount do
Should be:
	for m := 0 to readcount-1 do

It would better to use either cshort or smallint.

I think fpread and fpwrite expect sizes in bytes and not in cshorts (or is a cshort 
1 byte).

Vincent



More information about the fpc-pascal mailing list