Filesize() Function
Nancy Palmquist
nancy.palmquist at vss3.com
Thu May 14 09:00:47 PDT 2020
Richard,
I was at that point in my thinking. Thank you for the response.
Nancy
On 5/13/2020 10:49 AM, Richard Kreiss wrote:
> Nancy,
>
> Most of the time when a Filepro function gives a negative # it means that it can't find the object( in your case the file).
>
> What value does aa show? If it is blank or negative then the file was not found. In that case you would continue to get negative values.
>
>
> Richard Kreiss
> GCC Consulting
>
>
>
> -----Original Message-----
> From: Filepro-list <filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com> On Behalf Of Nancy Palmquist via Filepro-list
> Sent: Wednesday, May 13, 2020 10:19 AM
> To: filePro Mailing List <filepro-list at lists.celestial.com>
> Subject: Filesize() Function
>
> 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
--
Nancy Palmquist MOS & filePro Training Available
Virtual Software Systems Web Based Training and Consulting
PHONE: (412) 835-9417 Web site: http://www.vss3.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20200514/ee9875e0/attachment.html>
More information about the Filepro-list
mailing list