.Offset R/O Property

Top  Previous  Next

Function:

Returns the offset of the currently opened file.

Type:

Dword

Value Range:

Only limited by the size of compiled binary of your project.

See Also:

romfile.open

 


Details

This read-only property returns the address of the base of the currently opened file within the compiled binary of your project. The property is used to pass the data of the file 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 file and passes the pointer to this file, in the form of the romfile.offset property value, to another object that requires this information. The property has no other uses.

This property is not available on the EM200/200, DS202 platform.