Home Page The Club Computers News Links Glossary EYAWTK
Before Amiga Background ICS OCS ECS AGA ??? PPC
U-Boot SLB Linux Amiga OS Dual Boot Motherboards Peripherals Other
Initialisation Installation OS4 Updates About OS4 File Systems Networking Printing Other
Introduction File System Workbench Preferences Commands Error Msgs Miscellaneous

AmigaOS 4.0 - About OS4 - Commands

GET Internal
Purpose: Gets the value of a local variable.
Format: GET [<name>] [NOLINE]
Template: NAME/A, NOLINE/S
Path: Internal
GET is used to retrieve and display the value of a local environment variable. The value is displayed in the current output window or device. By default this is the screen, but it could be any device or file.

<name> is the name of the local environment variable to be retrieved. If a local environment variable with that name does not exist, an error message is displayed.

When the NOLINE option is specified, GET does not automatically move the cursor to the next line after displaying the string.

Local environment variables are only recognised by the Shell in which they are created or by any Shell 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.

Example 1:

3.OS4:> GET editor

Example 2:

3.OS4:> GET intel
GET: object not found

See also: SET

Return to Commands Selection

Disclaimer: Amiga Auckland have prepared the above information for the use of its members based on our experiences and as such is subject to revision at any time. Amiga Auckland cannot guarantee any of the information and cannot be held accountable for any issues that may result from using it.

Copyright 2006 Amiga Auckland Inc. All rights reserved.
Revised: February 9, 2006.