Quote:
Originally posted by Brady2
Jadis:
I have never ever gotten what you mean arguments in a function?
I never really learned functions in my ---vast--- experience with C++ so are arguments the stuff in the ()'s?
Or do you mean arguments as in && and ! and || and hi.
|
Here, I'll give you a bit of code:
NPC Code:
this.z=multiplier(2,1);
function Multiplier(var1,var2) {
return var1*var2;
}
That's what I'm talking about. That you can use those var1 var2 things.