Paul Hodges wrote:
So a null byte is still Boolean true. Ugh, yarf, ack, etc.
But as long as I know -- easy enough to check explicitly.
But just tell me this....am I the only guy who thinks this *feels* wierd?
It doesn't feel weird to me, but my previous languages of choice were fairly high-level (GW-BASIC, Pascal, Inform, QBasic, and Emacs lisp). I never really got very deeply into C.
But explain something to me: under what circumstances would you be checking for any data at all _except_ a binary null? What are you writing, a disassembler?