In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: 1. Your very close: [code] Main: Subroutine DefinedLabel END Subroutine: Pntr = __WParam12 READ Pntr, myvalue ' get data and put in myvalue ' do other stuff. Return [/code][/code] 2. You can't use index with word variables. Simple increament the word variable. Or use the new READINC instruction. 3. It's true. SX/B has limited storage for math. 4. This is true also, for the same reason. Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=145365#m145371 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)