In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Capt. Quirk wrote: [3]JonnyMac & PJMonty,[/3] [3]I bet you guys can convert Decimal to Hex and/or Binary in your head like I do with inches to millimeters or meters. I've already started to go back over the basics, so that someday I'll get to that point too. [/3] [3]After your suggestions and help, I googled them and found more information online. My digital and programming books had nothing on masking. Online I found information on using the "OR" and "XOR" for masking too. At the same time I realized that the boring sections in books about "Booleans" and how they pertain to making digital chips, function the way they do. Was the exact same thing, but your minipulating code instead. I never thought I needed to no more about Booleans, than how there used in algebra and basic code. [/3] [3]Friday I should receive my SX-Key and I'll try your code snippet out[/3] [3]Thanks [/3] Bill ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=161442#m161742 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)