Forum Discussion
Using the user interface, you can only interactively Run script routines which take no arguments. In the Code Editor, if you put the cursor in the routine and right-click, only the no-argument routines will have the "Run Current Routine" option enabled. If you right-click on the script file in the Project Workspace, the Run option is presented only if there are suitable routines in the script file.
function NoArgs() { /* suitable */ }
function OneArg(arg) { /* not suitable */ }joseph_michaud is quite correct.
I forgot about the arguments part. (I should really get out of the habit of calling them parameters as well!)
But I think you need to do a little more reading and get yourself more familiar with the basics and then ask some more specific questions once you have the basic stuff worked out.
At the moment, this feels a little like a "teach me to script" type thread ...