.Offset R/O Property

Top  Previous  Next

Function:

For the currently opened resource (ROM) file returns the absolute file offset in the compiled project binary.

Type:

Dword

Value Range:

---

See Also:

Romfile Object

 


Details

The property is used to pass the file data to some other object that may need this data. This way, the "separation of labor" is maintained between the objects. The romfile object opens the ROM file (romfile.open) and passes the pointer to this file (through romfile.offset) to another object that requires this information.

For illustration of use, see lcd.setfont and wln.boot.