Difference between revisions of "API File.GetSize"

From Flowcode Help
Jump to navigationJump to search
(XML import of API auto-gen)
 
(XML import API auto-gen)
Line 1: Line 1:
 
wiki page name
 
wiki page name
==FileGetSize==
+
Gets the number of bytes in the file, by handle or name
  
Gets the number of bytes in the file, by handle or name
 
----
 
  
 
===Parameters===
 
===Parameters===
Line 18: Line 16:
  
 
===Examples===
 
===Examples===
====Calling in a calculation:====
+
====Calling in a calculation====
 
* Declare a variable 'result' of type ULONG
 
* Declare a variable 'result' of type ULONG
 
* Add to a calculation icon: result = ::File.GetSize(filename)
 
* Add to a calculation icon: result = ::File.GetSize(filename)

Revision as of 15:34, 10 May 2013

wiki page name Gets the number of bytes in the file, by handle or name


Parameters

HANDLE Filename

The handle or filename to get the size of

Return value

ULONG

Returns the number of bytes in the file, by handle or name

Detailed description

No additional information

Examples

Calling in a calculation

  • Declare a variable 'result' of type ULONG
  • Add to a calculation icon: result = ::File.GetSize(filename)