Sets the position of the files read/write marker. Requires an integer line or character position (depending on the read mode) as a parameter. All subsequent reads and writes will occur at the given position.
[File Variable->(SetPosition: Integer)]
Characters can be read starting at a set position using the [File->SetPosition] tag before the [File->Read] tag. The example below reads 240 characters starting at character number 16.
[Var:'File'=(File: 'myfile.txt', File_OpenRead, File_ModeChar)]
[$File->(SetPosition: 16)]
[$File->(Read: 240)][$File->Close]
Tag Link | [File->SetPosition] | Category | File |
---|---|---|---|
Type | Member | Data Source | Any |
Support | Preferred | Version | 7.0 |
Output Type | None | Security | File |
Implementation | Sets | Lasso 7.0 |
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft