In SX Microcontrollers, SX/B Compiler and SX-Key Tool, smhhadima wrote: How can I use the operator and(&) with two bits? same with add, sub ,..... the compiler keep complaining when I try to perform any operation with two bit variables Example: x=a and b where: x var bit a var bit b var bit ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=196659 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)