local variable

A variable that is accessible only within a function or procedure. Other procedures or functions cannot access this variable's data. Use global variables to share data across many procedures and functions, or private variables to share data with the functions you call. See also lifetime, public variable, scope.