In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote: WATCH is now an SX/B keyword; if you use it without formatters you'll get decimal output and the bit setting will be determined by your variable. To use it with formatters you have to convert it to an inline Assembly statement. Decimal (SX/B controlled) output: [code] WATCH tmpB1.0 ' becomes WATCH tmpB1.0, 1, UDEC WATCH tmpB1 ' becomes WATCH tmpB1, 8, UDEC WATCH tmpW1 ' becomes WATCH tmpW1, 16, UDEC[/code] User controlled formatting: [code] \ WATCH tmpB1.0, 1, UBIN \ WATCH tmpB1, 8, UBIN \ WATCH tmpW1, 16, UHEX[/code] This update came after the creation of the current help file, hence the Declarations page should be updated and WATCH should be added to the list of keywords in that index as well. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=186003#m186505 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)