:SetLastError()


Class

     aprAudio()

 

Syntax

     :SetLastError( [nErrorCode] ) --> nError

 

Parameters

     nErrorCode Sets the aprAudio Error State to nErrorCode value.

     If omitted, resets the LastError to Zero.

 

Return

     nError is the previous value of :nErr prior to setting the new value.

     

Description

The :SetLastError Method sets the last error code for the Class. This Method is typically used to clear the last error by passing a value of zero as the parameter.

 

See Also

:nErr, :cErr