FILELEN
Aus MCS Wiki AVR
(Unterschied zwischen Versionen)
Admin (Diskussion | Beiträge) (Created page with "= <span class="f_Header">Action</span> = Returns the size of a file <span style="font-family: Arial;"> </span> <span style="font-family: Arial;"> </span> = <span...") |
Admin (Diskussion | Beiträge) |
||
Zeile 46: | Zeile 46: | ||
= <span class="f_Header">See also</span> = | = <span class="f_Header">See also</span> = | ||
− | [ | + | [[INITFILESYSTEM]] , [[OPEN]] , [[CLOSE]], [[FLUSH]] , [[PRINT]], [[LINE INPUT]], [[LOC]], [[LOF]] , [[EOF]] , [[FREEFILE]] , [[FILEATTR]] , [[SEEK]] , [[BSAVE]] ,[[BLOAD]] , [[KILL]] , [[DISKFREE]] , [[GET]] , [[PUT]] , [[FILEDATE]] , [[FILETIME]] , [[FILEDATETIME]] , [[DIR]] , [[WRITE]] , [[INPUT]] |
<span style="font-family: Arial;"> </span> | <span style="font-family: Arial;"> </span> |
Aktuelle Version vom 11. Februar 2013, 18:52 Uhr
Inhaltsverzeichnis |
Action
Returns the size of a file
Syntax
lSize = FILELEN ()
lSize = FILELEN (file)
Remarks
lSize |
A Long Variable, which is assigned with the file size in bytes of the file. |
File |
A string or string constant to get the file length of. |
This function works on any file when you specify the filename. When you do not specify the filename, it works on the current selected file of the DIR() function.
See also
INITFILESYSTEM , OPEN , CLOSE, FLUSH , PRINT, LINE INPUT, LOC, LOF , EOF , FREEFILE , FILEATTR , SEEK , BSAVE ,BLOAD , KILL , DISKFREE , GET , PUT , FILEDATE , FILETIME , FILEDATETIME , DIR , WRITE , INPUT
ASM
Calls |
_FileLen |
|
Input |
|
|
Output |
|
|
Partial Example
Print "File demo" Print Filelen("josef.img");" length" ' length of file Print Filetime("josef.img");" time" ' time file was changed Print Filedate("josef.img");" date" ' file date
Languages | English • Deutsch |
---|