in reply to lvalue - howto fix?
First you need a comparative operator to check AZ_OK, and is AZ_OK a constant you've defined elsewhere?
-Nitrox