.open Method

Function:

Opens or re-opens a resource (ROM) file.

Syntax:

romfile.open(byref filename as string)

Returns:

---

See Also:

romfile. Object


Part

Description

filename

Name of the resource file to open.


Details

If the file exists and is not empty, the romfile.pointer and romfile.pointer32 properties are set to 1 (each time you [re]open the file). If the file doesn't exist or is empty, these two  properties are set to 0.

There is no method (or need) to explicitly close resource files. Only one resource file can be opened at any given time.


.open Method

Details