See also

Example

/* Status() is set when the operating system file is read. The number returned by Status() is used to set the error code. */
file = "AUTOEXEC.BAT"
OSOpen file To file_var Then
OSBRead frame From file_var At 0 Length 25
OSClose file
End Else
error_code = Status()
End