.Pointer32 Property


Sets/returns the current pointer position in the resource (ROM) file.



Value Range:

See the explanation below.

See Also:

Romfile Object


When the file is (re)opened with the romfile.open method, the pointer is reset to the first character of the file (position 1). If the file is not found or contains no data, the pointer is set to 0.

Pointer position cannot exceed romfile.size+1. When you read from the file with romfile.getdata, the pointer is automatically moved forward by the number of bytes that have been read out.

To navigate within files that do not exceed 65535 bytes, use romfile.pointer instead — this will speed up your application.