The Open built-in extract file method opens the external file attached to the extract file.
If the external file is already opened, this method is ignored.
Failure behavior
If the external file is not successfully opened, the Open method sets the Glb.Status built-in segment attribute to "*****".
Syntax
<<extract file>>::Open( fileName : string, mode : number) : void
Owner
Any extract file.
Parameters
fileName
The file name of the external file.
mode
The mode Read, Write or Append where Append is represented by the value 2, Write is 1 and Read is 0.