In SX Microcontrollers, SX/B Compiler and SX-Key Tool, eagletalontim wrote: This has to be something simple. I am attempting to call a function to fill a variable. This is in relation to my RPM detection post. Here is a sample of what I am trying to do : getrpm SUB 0 Main: currentrpm = getrpm ' CODE TO DISPLAY RPM ... ... ... Goto Main getrpm: ... ... ... RETURN rpm What am I doing wrong? It is getting dark outside and I am running out of time to test this :( ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=274175 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)