Difference between revisions of "FILESIZE()"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{YLM to do}}
 
 
==Class==
 
 
 
 
 
==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]]

Latest revision as of 17:30, 27 November 2009

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