In SX Microcontrollers, SX/B Compiler and SX-Key Tool, PJ Allen wrote: OK, this has been laying cold for a day and a half now. How about if you explain what it is that you figure this -- [code] Mainloop: if i_sw_alarm = true then Toggle alarm_enabled do pause 100 loop while i_sw_alarm = true endif o_alarmtriac = alarm_enabled goto Mainloop [/code] is supposed to do. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=394263#m394670 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2009 (http://www.dotNetBB.com)