- Joined
- Sep 8, 2008
- Messages
- 15
function notreallyafunction takes nothing returns integer
return udg_IntegerVariable
endfunction
Ooh, look, now when you call that function, it gives you the variable IntegerVariable.
What I don't understand about this is when he says "it gives you the variable IntegerVariable"
What use could returning an integer have if it's global? Can someone give an example of this?