EnglishРусский  
The project is closed! You can look at a new scripting language. It is available on GitHub.
Also, try our open source cross-platform automation software.

Ads

Installer and installation software
Commercial and Freeware installers.

file.setpos

Set the current position in the file.

method uint file.setpos (
   int offset,
   uint mode
)

Parameters

offset Position offset.
mode The type of moving the position.
$FILE_BEGINFrom the beginning of the file.
$FILE_CURRENTFrom the current position.
$FILE_ENDFrom the end of the file.

Return value

The function returns the current position in the file.

Related links

Source