In SX Microcontrollers, SX/B Compiler and SX-Key Tool, KenM wrote: Jon or anybody, I am not familiar with "use subroutines like functions" Is the end result that the subroutine is called and temp1 is returned to myVar1 and the same with myVar2? Thank you. [code] myVar1 = GETBYTE myVar2 = GETBYTE GETBYTE: SERIN Sio, Baud, temp1 RETURN temp1 [/code] ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=80293#m80317 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)