# $EPIC: local,v 1.4 2003/12/08 07:10:17 brian Exp $
Synopsis:
   local [[-]<variable name>[,<variable name>] [<value>]]
   local -dump

Description:
   LOCAL creates "local" variables. Local variables are the same as
   assign(6) variables, except they're primarily for inside one specific
   alias. Local variables cannot be removed. There are several reasons for
   this, which are mostly advantages for scripts. A local variable is specific
   to the alias it was defined in, causing less confusion with multiple
   variables in multiple aliases. They are less CPU-intensive, making them
   optimal for recursive functions like for(5).

   The second form, local -dump, will delete all of the currently scoped
   local variables. It will not delete any other alias' local variables --
   only the ones that you can currently see.

Examples:
   To give the local variable $blah a value of "this is a test":
      local blah this is a test

   To give both $blah and $foo a value:
      local blah,foo local vars are neat

See Also:
   Expressions(7); Special_Vars(7); alias(5); assign(5); eval(5);
   set(4) input_aliases

