In SX Microcontrollers, SX/B Compiler and SX-Key Tool, ducky101 wrote: Ive been searching, looking through help files and trying to wrap my head around why this line of code isnt working. im relatively new to sx and am no programmer but as far as i can tell it matches the documents. but i must be missing something. the line of code is (sx/b) duty = sxcontroller */ $028C where duty and sxcontroller are byte sized and the $028C is hex for 2.55, im trying to scale a a value ranging b/w 0-100(sx controller) to 0-255(duty) the error i get is line 90, error 8, pass 1: invalid parameter "*/" i noticed only the star lights up blue and not the slash where other commands like // light totally blue but ** is totally grayed out. so kinda confusted on all that.. i must be overlooking something small. appreciate any help! ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=308676 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)