In SX Microcontrollers, SX/B Compiler and SX-Key Tool, RS_Jim wrote: I cant seem to find in the help file how to pass a parameter to a Func. for example I have a Func called Acc_error and I want to pass in __param3 the base number with which to calculate the error. I will then return the result in __wparam12. If I do this: __param3 = AccBase TmpW1 = Acc_Error I get the correct results, however I thought if you declaired in the Func Def Acc_Error Func 2,1 It would let you write tmpW1 = AccError AccBase and it would pass accBase in __param1 where am I tripping up? ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=402275 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2009 (http://www.dotNetBB.com)