In SX Microcontrollers, SX/B Compiler and SX-Key Tool, _BPM_ wrote: [quote="Bean (Hitt Consulting)"]What you are trying to do cannot be done. Your trying to alias a bit variable to a different bit position. You need code to do that. Also "READ" is a reserved word. I would recommend you make your connection in the order you want the bits to be in. Then you can just alias the whole port. ReadBack VAR RA Chrg VAR RB Bean[/quote] Oops on the read reserved word. I just made that one up here as an example.. So your saying if I do, something like ReadBack VAR RA Chrg VAR RB I can then referr to the bits I want later... I.E. ReadBack.0, ReadBack.1 = RA.0, RA.1 And Chrg.0, and Chrg.1 = RB.0, RB.1 My whole goal of doing this was to be able to set one bit of ReadBack,,, and then referr to all bits in ReadBack as a whole. I didn't want to use elaborate code to combine different ports into one byte.. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=127861#m127867 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)