Romfile.Size R/O Property

Top  Previous  Next

 

Function:

Returns the size of currently opened resource (ROM) file.

Type:

Word

Value Range:

0-65535

See Also:

romfile.open

 


Details

0 size is returned when the file does not exist or the file is empty.

 

note_warning-wt

The size will be truncated to 65534 even if the actual file is larger. This is because the romfile.pointer is a variable of word type.