Hi Sorry for the delay in responding
On 10/8/07, Vincent Snijders [EMAIL PROTECTED] wrote:
ik schreef:
Hello List,
snip
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;
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
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
ik schreef:
Hello List,
snip
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],