Category: Get
Syntax: Get ( FileSize ) |
Parameters: None
Data type returned: Number
Description:
Returns the size of the current file in bytes.
Examples:
If the current file size is 1,404,928 bytes Get (FileSize) returns 1404928.
Function |
Results |
---|---|
Round (Get (FileSize) / 1024; 0) |
Returns 1372, the file size in KB. |
Round (Get (FileSize) / 1048576; 2) |
Returns 1.34, the file size in MB. |
: FileMaker Specifications
FileMaker 8 Product Line
Specifications and Storage Limits
Field Types and Import/Export Formats
: Calculation Functions
Working with Calculations Primer
Calculation Signatures
Calculation Functions
: Custom Functions
Custom Functions Primer
Useful Custom Functions
: Script Steps
Scripting Primer
Script Step Reference
: Quick Reference
FileMaker Error Codes
FileMaker Keyboard Shortcuts
FileMaker Network Ports
FileMaker Server Command Line Reference
FileMaker XML Reference
: Other Resources
Where to Go for More Information