_BBLASTERR — Returns the last error code from @BLOAD or @BSAVE.

Syntax:
%_BBLASTERR

If the function call was successful, _BBLASTERR returns 0. If it failed, this variable returns a Windows error code; pass this value to @ERRTEXT or LOOKUPERRORS for more information.

In addition to the standard Windows error codes, this variable might also return:

490BBUF_ERROR_UNKNOWNA Windows function failed, but I don’t know why.
491BBUF_ERROR_FILE_TOO_BIGThe maximum file size is 8 MB (x86) or 1GB (x64).
492BBUF_ERROR_FILE_IS_EMPTYThe file does not contain any data.
493BBUF_ERROR_UNEXPECTED_EOF@BLOAD was not able to read the entire file.

See also: @BLOAD and @BSAVE.