Am 14.12.2014 um 17:21 schrieb waldo kitty: > > 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... > If you want to do such a thing in ObjectPascal I would use ByteBool, WordBool, ... insteadof the normal Boolean type.
mfg Steve Hildebrandt _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel