Usually you just pass them as parameters to the function at call time.
The (uglier) alternative is to put them in global variables.
Usually you just pass them as parameters to the function at call time.
The (uglier) alternative is to put them in global variables.