In programming, a variable whose scope is limited to a specific block, function, or procedure.
In this function, we assign a value to a local variable and then perform the calculation.
A global variable is accessible throughout the entire program, whereas 内部変数 is restricted to a local scope.
Synonymous loanword; 内部変数 is the native Japanese term, while ローカル変数 is a direct borrowing from English.
Compound of 内部 (internal) + 変数 (variable). A straightforward technical term formed from existing Sino-Japanese elements.