On 10/12/07, Vincent Snijders <[EMAIL PROTECTED]> wrote: > 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.
Thanks that solve most of the problems. Back to learn the new issues that I found :) > > I think fpread and fpwrite expect sizes in bytes and not in cshorts (or is a > cshort > 1 byte). It's ssize_t and it's longint type... > > Vincent Thank you for the help Ido -- http://ik.homelinux.org/ _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal