Difference between revisions of "FILEINFO()"

From Lianjapedia
Jump to: navigation, search
 
(See Also)
 
(6 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()]], [[FMT()]], [[FSIZE()]], [[GETENV()]], [[GETLOG()]], [[NDX()]], [[SET FULLPATH]]
+
[[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("db.exe")
+
? fileinfo("test.exe")
 
30,9,2003,20,12,23,A,4731284
 
30,9,2003,20,12,23,A,4731284
 
</code>
 
</code>
 
+
 
+
==Products==
+
Recital Server, Recital
+
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
[[Category:Disk and File Utilities]]
+
[[Category:Environment Functions]]
[[Category:Disk and File Utilities Functions]]
+

Latest revision as of 13:02, 2 March 2022

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