by "Jochen" <jotel99@[EMAIL PROTECTED]
>
Dec 22, 2007 at 03:22 PM
hi!
Joe typed:
> assign(person, 'path\?');
> rewrite(person);
>
> recnum:= filesize(person); // This all ways starts at 0. No matter if
> there is 1 record in it or not.
there cannot be a record in it!
rewrite creates a new empty file. so of course it has 0 records.
please read the help about working with files: rewrite, reset, append,
filemode and so on i mean.
> if (recnum = 0) then goto ?; //Then I miss the first record.
>
Does that help?
greetz
Jo
--
http://radio789.net.ms
- Radio 789 - We play it ALL
Radiostream: http://stream789.net.ms