In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: Hmmm, I don't think so. I think you'll have to use, LOOKUP temp1, "0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F",temp1 If you mean is it okay to have the same variable 1st and last... Yes that is okay. Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=83318#m83334 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)