Shell Commands/Get

From MorphOS Library

< 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.