In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: Okay, yes that can be done using the __RAM array. [code] CHECK_NEED_FOR_DOME_CLOSURE state1, state2, state3 'incrementing through parameters For Index = @__PARAM1 TO @__PARAM3 tmp1 = __RAM(Index) IF tmp1 = ON 'close dome ENDIF NEXT [/code] Bean ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=268167#m268225 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)