In SX Microcontrollers, SX/B Compiler and SX-Key Tool, ahunter10 wrote: Hello, i'm new to the SX, and i have a simple question that i can't figure out. I would like to use code similar to the following: [code] for idx = 0 to 7 HIGH RA.idx next [/code] I would like to use a variable to identify a pin. But this code doesn't work. Is there some way i can get something like this to work, without using if-then statements? Thanks, Alex Hunter ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=138451 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)