How Do I Get the Size of a File on Disk? (Magic xpa 4.x)
Sometimes you need to know how big a file is on disk. This might be the case if you were trying to see if any data were created in it (the size is not zero) or if it might be too large to send as an email attachment.
You can find the size of a file on disk using the FileInfo() function. The syntax is:
FileInfo (File Name,5)
The Magic xpa Help for I/O functions
The Online and Rich Client Samples projects (program EL20, REL20 and REL20b)