.laststatus R/O Property

Function:

Returns the execution result for the most recent disk-related method execution.

Type:

Enum (pl_fd_status_code, byte)

Value Range:

Many different fatal and non-fatal conditions are returned — see Status Codes for details.

See Also:

Status Codes


Details

Some methods, such as fd.create, return execution status directly. For those, fd.laststatus will contain the same status as the one directly returned.

Other methods return some other data. For example, fd.getdata returns the data requested (or an empty string if something went wrong). The execution result for such methods can only be verified through this read-only property.

Note that some errors are fatal and the disk is dismounted (fd.ready is set to 0 — NO) immediately upon the detection of any such fatal error.


.laststatus R/O Property

Details