Function group | Execute on client | Platform(s) |
---|---|---|
FileOps | NO | All |
$setfilesize(iNewSize)
Sets the file size to iNewSize bytes, for the open file associated with the object. Any data after the first iNewSize bytes is lost. Returns kTrue for success.
$setfilesize() returns a boolean, which is true if the new size was successfully set.