Am I trying to use a variable or pass a value by reference or by value?

Downwardflight:
... try to understand what exactly you are telling the compiler to do and how I can add my functions.

I'm really not able to understand what it is you are trying to do in your code... I'm not sure you can use what I gave you in the construct of your code.

my example was to show you a practical alternative paradigm...