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.open

Open a file.

method uint file.open (
   str name,
   uint flag
)

Parameters

name The name of the file to be opened.
flag The following flags can be used.
$OP_READONLYOpen as read-only.
$OP_EXCLUSIVEOpen in the exclusive mode.
$OP_CREATECreate the file.
$OP_ALWAYSCreate the file only if it does not exist.

Return value

If the function succeeds, the return value is 1. If the function fails, the return value is 0.

Related links

Source