Hi
Hmmmm...
Could it be, that you're mistaken 'boolean' for 'bool' or 'longbool'?!?
I mean, a 'boolean' in pascal is an enumerated type of (false,true) ~ ord(0..1),
whereas 'bool & longbool' are not and with these, 0 = false and 'anything but 0' = true.
Just saying...
Regards Benny