Sets the current position in a file as the last position in the file.
FileDirect objects
instancename.SetEndOfFile ( )
Argument |
Description |
---|---|
instancename |
Instance name of the FileDirect object |
Integer. Returns 1 for success and a negative number for an error.
Use the SetEndOfFile function to reset the current file position as the last position in the file.
The following script moves the file pointer 100 bytes from the file end before the Read function is called:
li_ret = nvo_FileDirect.setendoffile ( )