FileSeek()
Shifts the file pointer to the given position.
The file must be opened with seekable option
FileSeek( file=any, pos=number );
Returns: void
| Argument | Description |
|---|---|
|
file
any,
required
|
edit
The file object. Alias: source, filepath, fileObj |
|
pos
number,
required
|
edit
The position in a file within a stream where the following read and write operation must occur. |
Examples
editfileseek("example.txt",1);
See also
- File handling
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)