Filesize() Function

Fairlight fairlite at fairlite.com
Wed May 13 08:09:40 PDT 2020


If they used the standard idiom of a negative version of errno, it means
interrupted system call.

Best guess:  You are testing files > 2GB.

m->


On Wed, May 13, 2020 at 10:18:58AM -0400, Nancy Palmquist via Filepro-list thus spoke:
> Friends and filePro Experts,
> 
> Does anyone have an idea what it means when I do the following commands?
> 
> aa(8,.0)=Open([Name of file])
> 
> ab(8,.0)=filesize(aa)   'should report the filesize of the opened file and
> does most of the time.
> 
> But sometimes I get the value "-4" instead of a positive number of some
> kind.
> 
> I expect it might be an error of some kind and if a -4 is possible, can I
> expect other negative numbers?
> 
> I would appreciate any insight on this.  I am kind of assuming the file was
> not created or something bad like that happened.
> 
> Nancy Palmquist
> 
> -- 
> Nancy Palmquist
> Owner
> Virtual Software Systems - www.vss3.com
> (412) 835-9417
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20200513/51ab6575/attachment.html>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
> 

-- 
Audio panton, cogito singularis.


More information about the Filepro-list mailing list