Difference between revisions of "FILEINFO()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) |
||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to return information about a file | Function to return information about a file | ||
− | |||
==Syntax== | ==Syntax== | ||
FILEINFO(<expC>) | FILEINFO(<expC>) | ||
− | |||
==See Also== | ==See Also== | ||
− | [[DBF | + | [[DBF()]], [[FSIZE()]], [[GETENV()]], [[GETLOG()]], [[NDX()]], [[SET FULLPATH]] |
− | + | ||
==Description== | ==Description== | ||
Line 24: | Line 21: | ||
* File attribute string | * File attribute string | ||
* File size in bytes | * File size in bytes | ||
− | |||
==Example== | ==Example== | ||
<code lang="recital"> | <code lang="recital"> | ||
− | ? fileinfo(" | + | ? fileinfo("test.exe") |
30,9,2003,20,12,23,A,4731284 | 30,9,2003,20,12,23,A,4731284 | ||
</code> | </code> | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Disk and File Utilities]] | [[Category:Disk and File Utilities]] | ||
[[Category:Disk and File Utilities Functions]] | [[Category:Disk and File Utilities Functions]] |
Revision as of 08:36, 10 February 2012
Contents
Purpose
Function to return information about a file
Syntax
FILEINFO(<expC>)
See Also
DBF(), FSIZE(), GETENV(), GETLOG(), NDX(), SET FULLPATH
Description
The FILEINFO() function returns a comma-separated string containing information about the file specified in <expC>.
The following information is returned:
- Day of the month of file last update date
- Month of file last update date
- Year of file last update date
- Hours of file last update time
- Minutes of file last update time
- Seconds of file last update time
- File attribute string
- File size in bytes
Example
? fileinfo("test.exe") 30,9,2003,20,12,23,A,4731284