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.
Thank
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 csh
Hi Sorry for the delay in responding
On 10/8/07, Vincent Snijders <[EMAIL PROTECTED]> wrote:
> ik schreef:
>
> > Hello List,
>
>
>
> >
> > Then I tried to do the following code, that continue to write the
> > buffer content until nothing more to write, but it reads wrong data:
> >
> > start_count
ik schreef:
Hello List,
Then I tried to do the following code, that continue to write the
buffer content until nothing more to write, but it reads wrong data:
start_count := 0;
output_count := readcount * sizeof(cshort);
read_content := read_content_from([EMAIL PROTECTED], MAX_BUFFER
Hello List,
I'm trying to use fpwrite (from UnixBase). It seems that on my first
use it will wrtie the full content of the buffer, however on the
second write of the buffer, it will always write a small portion of
the buffer no matter the real size of it...
On an example that is written in C (that