filesize

Kenneth Brody kenbrody at bestweb.net
Mon Mar 17 08:52:53 PDT 2008


Quoting Jeff Harrison (Fri, 14 Mar 2008 16:03:07 -0700 (PDT)):

>
> --- Kenneth Brody <kenbrody at bestweb.net> wrote:
> [snip]
>
>>
>> Re-read what it says:
>>
>>      In a text file, it is possible that the value returned by FILESIZE()
>>      is not the same number of bytes that can be read from the file.
>>
>> The discrepancy is between the file size and the number of bytes that
>> you can read.  As in the above example, the file size is 13, but you
>> can only read 10.
[...]
> Ok, re-read what it says:
>
> In a text file, it is possible that the value
> returned by FILESIZE() is not the same number of bytes
> that can be read from the file.
>
> It says "the value returned by filesize" (not the
> actual file size), may not be the same as what can be
> read from the file.  It does not say which one would
> be larger - or why.  I gleaned that from your (and
> Jay's) response.

Well, it also says:

     Return value

         The size, in bytes, of the file.

So "the value returned by filesize" is "the size, in bytes, of the file".

True, it does not give the "why".

-- 
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list