Quote Originally Posted by Bob Worsley View Post
I bet that never worked in the first place. "test? it compiles doesn't it?"
not actually my code originally, which is why I know how old it is, so

It's part of the formatting of a receipt from our POS and it has been executed literally thousands of times a week for ever and not barfed.

It probably always evaluates as true because we would notice if the cardholder name was missing from the printed receipt... still not sure why it crashed this time, except that I've been 'improving' the error handling elsewhere. Anyhoo it doesn't crash now