1.
argument; parameter (in programming or mathematics)
A value passed to a function, method, or command. In programming, the input data that a function receives to produce a result. Also used in mathematics for the independent variable of a function.
この関数は引数を二つ取る。
This function takes two arguments.
引数に文字列を渡してください。
Please pass a string as the argument.
引数の数が間違っていたので、エラーが出た。
An error occurred because the number of arguments was wrong.
USAGE:
Primarily a technical term used in programming and mathematics. Pronounced ひきすう, not いんすう (which means "factor" in math). Very common in Japanese programming documentation.
COMMON COLLOCATIONS:
- 引数を渡す (to pass an argument)
- 引数を取る (to take an argument)
- 省略可能な引数 (optional argument)
- コマンドライン引数 (command-line argument)
SIMILAR WORDS:
- パラメータ: parameter — often used interchangeably, but technically the variable name in a function definition
- 戻り値: return value — the output of a function, as opposed to the input