Filesize() Function
William J. McEachran
bill.mceachran at gmail.com
Wed May 13 09:41:07 PDT 2020
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>
More information about the Filepro-list
mailing list