3 ms·
The words are definitely not interchangeable, but you can probably say "parameter" most of the time, and people will figure out from context whether you mean a
by to3m 10y ago
The words are definitely not interchangeable, but you can probably say "parameter" most of the time, and people will figure out from context whether you mean a parameter or an argument. I'm a lot less certain this applies to "argument".
(You could also say something like "parameter value"... VC++ calls parameters "formal parameters" and arguments "actual parameters", for example.)
- dzdt 10y agoI looked for a reference. http://stackoverflow.com/questions/156767/whats-the-difference-between-an-argument-and-a-parameter http://stackoverflow.com/questions/156767/whats-the-differen... "Summary" "The general consensus seems to be that it's OK to use these terms interchangeably in a team environment. Except perhaps when you're defining the precise terminology; then you can also use 'formal argument/parameter' and 'actual argument/parameter' to disambiguate."