How do I use parameters in a subroutine?

Well, I agree with that, but the KM forums are really where you should go to took for examples.

I'm searching the forums right now to see if I can find a good thread for you to read.

The 12th post in this thread is a good explanation of subroutines with examples.

But maybe more examples are needed. Subroutines are really handy for me. At least 10% of my macros are subroutines, I think.