Filesize() Function
Fairlight
fairlite at fairlite.com
Wed May 13 10:19:52 PDT 2020
Then that's literally "interrupted system call".
https://www-numi.fnal.gov/offline_software/srt_public_context/WebDocs/Errors/unix_system_errors.html
Technically, this should just involve a call to stat() internally, so
I'm not sure how it should be failing unless there are issues with
the filesystem.
If it were a network share, I suppose I could see it happening if the
connection flaked out.
m->
On Wed, May 13, 2020 at 12:41:07PM -0400, William J. McEachran via Filepro-list thus spoke:
> msgbox ERRNAME( abs(aa) )
> will tell you the OS error on a negative number
> --
> Bill McEachran
> bill.mceachran at gmail.com 289-356-4406
>
>
>
>
> On Wed, 13 May 2020 at 10:19, Nancy Palmquist via Filepro-list <
> filepro-list at lists.celestial.com> wrote:
>
> > 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
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20200513/92474fc5/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