Shell Commands/Get

From MorphOS Library

Revision as of 11:42, 3 March 2015 by JPV (talk | contribs) (Created page with "'''Get''' - Displays the contents of a local environment variable NAME/A <nowiki> NAME - name of the local variable to display</nowiki> Get is used to retrieve and display t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

< Shell Commands

Get - Displays the contents of a local environment variable

NAME/A

NAME - name of the local variable to display

Get is used to retrieve and display the value of a local environment variable. The value is displayed in the current window.

Local environment variables are only recognized by the Shell in which they are created or by any Shells created from a NewShell command executed in the original Shell. If you open an additional Shell by opening the Shell icon or by using the Execute Command menu item, previously created local environment variables are not available.

See also: Set command.