Well just speaking from general programming logic [Not that I can say much], 0 should not be a valid value and a returned value for the detection of an invalid.

0/1 are common returns for valid/invalid -success/fail but 0 than is both up and invalid in this case. That's kind of poor logic even to a half-a** code want-to-be like me...

Last edited by Malice; 07/24/16 12:04.