[fpc-devel] BOOL

waldo kitty wkitty42 at windstream.net
Sun Dec 14 17:21:14 CET 2014


my understanding of TRUE and FALSE has always been

   FALSE = 0
   TRUE  = !FALSE

we have, in some of our code, used this to determine a "truth level" returned by 
some routines... in other words, when we're detected TRUE we've then looked at 
the value of the variable returning TRUE... depending on that value, we then 
branched based on the level of TRUE...

i don't know that we've done anything like this with any FPC code, though... the 
above was mostly in TP/BP stuffs and came in very very handy when it was 
implemented in our code...

-- 
  NOTE: No off-list assistance is given without prior approval.
        Please *keep mailing list traffic on the list* unless
        private contact is specifically requested and granted.



More information about the fpc-devel mailing list