Prototype: int GetLastCommandError(void)
Description: Returns an error value from the last pending command which had to wait for BadgeBuilder® to be in the main loop before executing.
Returned Data: The error code from the last pending command to execute. Use the GetErrorMessage call to get the text associated with the value.