Multiuser Lingo Dictionary > Multiuser Lingo Dictionary > position |  |

position

Syntax

    file("whichFile").position

Description

Multiuser Server server-side property; indicates the relative position in the file of the next byte to be read or written. The first byte in a file is at position 0. This property can be tested and set.

Use this property to write data to specific locations within the file.

Example

This server-side statement sets the next write operation to occur at the 445th byte in the file Longspeech.txt:

    file("C:\Text_files\Longspeech.txt").position = 445