in reply to subroutine help

Start by making small test programs. Read the Llama book. Don't start with something too big. If you have specific questions, bring the thing you're having a problem with to us and we'll be delighted to help answer your specific question. This is more of something where we'd be posting a tutorial that's better written up in the Llama book. merlyn, contrary to popular belief, does know what he's talking about. :-)

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.