How can I pass a variable into a function by reference. This is frustratingly simple, but I am somehow unable to find something on it using Google. I'm assuming that's because I'm using the wrong vobabulary, so I'll explain what I mean. I want a variable passed into a function, when modified there, to have its incarnation in the place that called it be modified as well.