[File] end. | Manual

[File] end.

Moves the file pointer to the end of the file. Use this in combination with negative seek operations.
Usage:


 file open: 'r'.
 file end.
 x := file seek: -10, readBytes: 10.

 The example above will read the last 10 bytes of the file. This is
 accomplished by first moving the file pointer to the end of the file,
 then putting it back 10 bytes (negative number), and then reading 10
 bytes.

back to homepage
back to manual menu

This API reference guide has been generated automatically from source code comments using the shtml.ctr script.