fileLength
fileLength(S_name) =>x_size /0
Description
Determines the number of bytes in a file.
A directory is viewed just as a file in this case. Uses the current SKILL path if a relative path is given. A path that is anchored to the current directory, for example, ./, ../, or ../../.., and so on, is not considered as a relative path.
Arguments
Value Returned
|
The file exists but is empty. Signals an error if the named file does not exist. |
Examples
Return value is system-dependent.
fileLength("/tmp")
=> 1024
Assuming the named file exists and is 32157 bytes long.
fileLength("~/test/out.1")
=> 32157
Related Topics
Return to top