Romfile.Open Method

Top  Previous  Next

 

Function:

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

Syntax:

romfile.open(byref filename as string)

Returns:

---

See Also:

Romfile Object, romfile.size

 


Part

Description

filename

Name of the ROM file to open.

Details

Only one ROM file can be opened at any given time. If the file exists and is not empty the romfile.pointer is set to 0 each time you use the romfile.open method. If the file does not exist of is empty the romfile.pointer is set to 0. There is no method (or need) to explicitely close the ROM file.