Posted by zeitcontrol
(80.130.201.128) on September 03, 2004 at 06:24:00: In Reply to: boolean values posted by sivaram on June 28, 2004 at 03:51:12:
Boolean values are not generally handled equals across all platforms/programming systems. BasicCard basic uses true/false as a substitution for true = 255 (signed == -1) and false = 0. These are integer values since BasicCard do not know a real boolean type. using true/false in compare lead to different results as if cmpval = true then will be expanded to if cmpval = &hff then comparison will work only if cmpval is of value 0xff (which might if cmpval then will be expanded to if cmpval 0 then comparision will work as long a the cmpval is a value different to Juergen Mengeling, ZeitControl cardsystems
|