In SX Microcontrollers, SX/B Compiler and SX-Key Tool, robotworkshop wrote: Hello, I have read through the Elements of style guide for SX/B and have a question about declaring subroutines and functions in SX/B. In the example is shows: WAIT_MS SUB 1,2 GET_TEMP FUNC 2 I read that subroutines can return a byte value and that functions can return a byte or word. It also sounds like you can pass more than one parameter to a subroutine or function. What I have yet to find a reference to is just what the meaning/significance of the numbers are following the SUB and FUNC in the examples above. Does it specify how many are passed to the routine, How many are returned, or if it is a byte or word that is passed and returned? Can anyone shed some light on what the meanings of these values are? Thank You, Robert ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=164513 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)