[fpc-pascal] System.FileSize documentation
Tomas Hajny
XHajT03 at hajny.biz
Wed Nov 6 12:25:17 CET 2013
On Wed, November 6, 2013 12:01, Marco van de Voort wrote:
> In our previous episode, Mark Morgan Lloyd said:
>> It also returns zero if the file is untyped, i.e. hasn't been declared
>> with "of byte" etc.
>
> Isn't that incompatible? It should return in units defined by the 2nd
> param
> of the reset() command (which can be considered a defaultparameter with
> value 128 if not specified)
Oops, sorry - it should and indeed does so (I forgot about this default
parameter at first while testing the current behaviour of FPC and its
compatibility to TP/BP after seeing Mark's post and I suspect that the
same might have happened to Mark). :-( In this context, the error report
is probably not appropriate/necessary. Sorry to Mark for misleading him.
:-(
Tomas
More information about the fpc-pascal
mailing list