local
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | local [2006/08/01 04:13] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ======Synopsis: | ||
| + | [[local]] < | ||
| + | [[local]] < | ||
| + | [[local]] < | ||
| + | [[local]] -< | ||
| + | [[local]] < | ||
| + | [[local]] -dump | ||
| + | |||
| + | ======Description: | ||
| + | The [[local]] command creates local variables (as opposed to global variables). | ||
| + | A local variable can be used until the end of the //current atomic scope//. | ||
| + | |||
| + | |< | ||
| + | |< | ||
| + | |< | ||
| + | |-< | ||
| + | |< | ||
| + | |-dump|Remove all local variables in the current atomic scope| | ||
| + | |||
| + | Local variables are created implicitly by several commands which I should | ||
| + | be listing here. | ||
| + | |||
| + | ======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 | ||
| + | |||
| + | ======History: | ||
| + | The [[local]] command first appeared in EPIC4pre0.009. | ||
| + | # $EPIC: local.txt,v 1.3 2006/08/01 04:07:08 sthalik Exp $ | ||
local.txt · Last modified: 2006/08/01 04:13 by 127.0.0.1
