.Laststatus R/O Property

Top  Previous  Next

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 Fd. Object's status codes for details.

See Also:

Fd. Object's Status Codes

 


Details

Some methods, such as fd.create, return execution status directly. For those, the 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 R/O 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.