New topic: and and bitwise and...
<http://forums.realsoftware.com/viewtopic.php?t=46417> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message BrianOBrien Post subject: and and bitwise and...Posted: Wed Jan 02, 2013 1:36 pm Joined: Wed Jul 07, 2010 2:55 pm Posts: 633 Location: University Of Calgary, Faculty Of Medicine dim flags as uint32 const Unsynchronisation=&h80 .. if Bitwise.BitAnd(flags, Unsynchronisation) then me.FlagsLabel.HelpTag = "Unsynchronisation" end if I'm a bit confused by this as it is giving a compiler error saying Type mismatch error. Expected boolean, but got UInt64 I also get the similar error message if I just use AND instead of bitwize.BitAnd. Must I 'cast' my values to 32 bit integers somehow? _________________ If at first you don't succeed... Try REALBasic. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
