Mikroelektronika MIKROE-350 データシート
![Mikroelektronika](https://files.manualsbrain.com/attachments/e0529b3b58069a916ad7bb89f7e9f5f0eda73421/common/fit/150/50/1b07b99aa3112e022a916b06db07f1f4f211e91d41878452d87c7638b1bf/brand_logo.gif)
Mmc_Fat_Get_File_Size
270
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroBasic PRO for AVR
CHAPTER 6
Prototype
sub function Mmc_Fat_Get_File_Size() as longword
Returns
Size of the currently assigned file in bytes.
Description
This function reads size of the currently assigned file in bytes.
Requires
MMC/SD card and MMC library must be initialized for file operations. See
Mmc_Fat_Init.
Mmc_Fat_Init.
The file must be previously assigned. See Mmc_Fat_Assign.
Example
dim my_file_size as longword
...
...
main:
...
my_file_size = Mmc_Fat_Get_File_Size
...
end.