Retrieve FileSize

Coding and general discussion relating to user created compiler modules

Moderators: David Barker, Jerry Messina

Post Reply
Widgetman
Posts: 136
Joined: Sun Dec 16, 2007 7:39 pm
Location: Florida

Retrieve FileSize

Post by Widgetman » Wed Jan 16, 2008 1:39 pm

Hi,
I wanted to see if anyone knew a easy way to use the SDFileSysytem routines to easily get a size of a file stored on the SD Card. I looked thru the functions and did not specifically see a getfilesize routine. Any help or comments would be appreciated.
Thanks

User avatar
octal
Registered User
Registered User
Posts: 584
Joined: Thu Jan 11, 2007 12:49 pm
Location: Paris IDF
Contact:

Post by octal » Wed Jan 16, 2008 2:51 pm

From help file

function FileSize () as longword
FileSize returns the size (in Bytes) of a file opened for reading with OpenFile.
Regards
octal

Widgetman
Posts: 136
Joined: Sun Dec 16, 2007 7:39 pm
Location: Florida

Filesize

Post by Widgetman » Wed Jan 16, 2008 2:55 pm

Thanks for the help. I did not see it

Post Reply