In SX Microcontrollers, SX/B Compiler and SX-Key Tool, mrchadwickusa wrote: Hi Bean, Yeah, I could have coded it that way, but in the context of the program ~byte_sent.0 had been copied to a pin that looped back to RO_485 (an input) a couple of microseconds before, and I was checking to see if it wasn't what it was supposed to be so I could flag an error. The not equals was the best representation of the intent of the code. This was supposed to be a *quick* test of something, which I have found to be an excellent use of SX/B. When it didn't work as expected, always indicating an error, I investigated further and found the code wasn't being generated as expected. I'm really surprised that no-one else has run into this. Maybe I just code strangely :) This was SX/B version 1.42 by the way. I do want to point out that you guys have done a terrific job on the IDE and SX/B! I know the forums tend to be mostly bug reports or things that don't work as expected, because that's when people feel the need to write. But please don't think for a minute your hard work, dedication and enthusiasm isn't appreciated. It is, a lot. Thanks for the terrific tools! MRC ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=104004#m104089 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)