I've a function that takes one or more arguments and I want to say the way to pass parameters. For instance: you can pass (maybe give?) a number and a string to that function.
What is the right verb to say what I want to say?
Thanks in advance!
Wilk
I've a function that takes one or more arguments and I want to say the way to pass parameters. For instance: you can pass (maybe give?) a number and a string to that function.
What is the right verb to say what I want to say?
Thanks in advance!
Wilk
The technical term for passing (as you yourself said) arguments to a function is indeed pass, i.e.
You can pass a number and a string to that function.
Another less technical, but still understood, term would be to feed
You can feed a number and a string to that function.
Yet another more generic (i.e. not related to programming) alternative would be to provide
You can provide this function with a string and a number (as arguments).