Salesforce

FileSize (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

FileSize (Magic xpa 4.x)

This function is deprecated; but will continue to run if used in a program. Instead of this function, you should use the FileInfo function, such as FileInfo(filename,5).

Returns the size of a file.

Syntax:

FileSize(file name)

Parameters:

file name: An alpha string that represents the file specification. The string may contain a path. If the path is not indicated, Magic xpa assumes the current directory.

Returns:

A numeric value indicating the byte size of the file.

Example:

FileSize('c:\magic\magic.ini') returns the number of bytes contained in the C:\MAGIC\MAGIC.INI file.

See also:

FileCopy, FileExist, FileDelete

Reference
Attachment 
Attachment