Difference between revisions of "FILESIZE()"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 1: Line 1:
{{YLM to do}}
 
 
 
==Class==
 
==Class==
 
+
Disk and File Utilities
  
  
 
==Purpose==
 
==Purpose==
 
+
Function to return size of file
  
  
 
==Syntax==
 
==Syntax==
 
+
FILESIZE(<expC>)
  
  
 
==See Also==
 
==See Also==
 
+
[[DBF()]], [[FILEINFO()]], [[FMT()]], [[FSIZE()]], [[GETENV()]], [[GETLOG()]], [[NDX()]], [[SET FULLPATH]]
  
  
 
==Description==
 
==Description==
 
+
The FILESIZE() function returns the size in bytes of the file specified in <expC> as a numeric.
  
  
 
==Example==
 
==Example==
 
<code lang="recital">
 
<code lang="recital">
 
+
? filesize("example.dbf")
 +
    37580
 
</code>
 
</code>
  
==Products==
 
  
 +
==Products==
 +
Recital Server, Recital
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Disk and File Utilities]]
 +
[[Category:Disk and File Utilities Functions]]

Revision as of 16:26, 14 October 2009

Class

Disk and File Utilities


Purpose

Function to return size of file


Syntax

FILESIZE(<expC>)


See Also

DBF(), FILEINFO(), FMT(), FSIZE(), GETENV(), GETLOG(), NDX(), SET FULLPATH


Description

The FILESIZE() function returns the size in bytes of the file specified in <expC> as a numeric.


Example

? filesize("example.dbf")
     37580


Products

Recital Server, Recital