In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Zoot wrote: Add'l note to Bean's comments -- if you assign return value of a function to a Word, it will handle (automatically) assigning param1 and param2 to your main Word variable. In any case, when you are in the SX-Key IDE w/SX/B compiler installed ---- HELP -> SX/B Help -> DEFINITIONS -> SUBROUTINE DECLARATIONS and HELP -> SX/B Help -> DEFINITIONS -> FUNCTION DECLARATIONS The function help in particular contains some good examples of checking paramcnt (number of parameters passed to a function when it is called) and multi-byte assignments back from the function. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=2&m=297459#m297912 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)