noun
In programming, a variable whose scope is limited to a specific block, function, or procedure.
この関数では、局所変数としてカウンターを使っています。
In this function, I'm using a counter as a local variable.
大域変数 (global variable) is accessible throughout the entire program, whereas 局所変数 is only accessible within a limited scope.
Compound of 局所 (local, limited area) and 変数 (variable). A straightforward technical term from computing.