Difference between revisions of "FILEINFO()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) (→See Also) |
||
(5 intermediate revisions by the same user not shown) | |||
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()]], [[NDX()]], [[SET FULLPATH]], [[SYSFILES]], [[TABLEINFO()]] |
− | + | ||
==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: | + | [[Category:Environment Functions]] |
− | + |
Latest revision as of 13:02, 2 March 2022
Contents
Purpose
Function to return information about a file
Syntax
FILEINFO(<expC>)
See Also
DBF(), FSIZE(), GETENV(), NDX(), SET FULLPATH, SYSFILES, TABLEINFO()
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