How to pass a variable to a function?

You didn't really read the page I linked earlier, did you ?