- Rexx - Home
- Rexx - Overview
- Rexx - Environment
- Rexx - Installation
- Rexx - Installation of Plugin-Ins
- Rexx - Basic Syntax
- Rexx - Datatypes
- Rexx - Variables
- Rexx - Operators
- Rexx - Arrays
- Rexx - Loops
- Rexx - Decision Making
- Rexx - Numbers
- Rexx - Strings
- Rexx - Functions
- Rexx - Stacks
- Rexx - File I/O
- Rexx - Functions For Files
- Rexx - Subroutines
- Rexx - Built-In Functions
- Rexx - System Commands
- Rexx - XML
- Rexx - Regina
- Rexx - Parsing
- Rexx - Signals
- Rexx - Debugging
- Rexx - Error Handling
- Rexx - Object Oriented
- Rexx - Portability
- Rexx - Extended Functions
- Rexx - Instructions
- Rexx - Implementations
- Rexx - Netrexx
- Rexx - Brexx
- Rexx - Databases
- Handheld & Embedded
- Rexx - Performance
- Rexx - Best Programming Practices
- Rexx - Graphical User Interface
- Rexx - Reginald
- Rexx - Web Programming
Rexx - Instructions address
This function is used to display the current command environment.
Syntax
address()
Parameters
None
Return Value
The return value is the current command environment.
Example
/* Main program */ options arexx_bifs say address()
When we run the above program we will get the following result.
Output
SYSTEM
Lets take a look at some more variations of the address command.
Syntax
address environment command
Parameters
environment − This is the current environment to which the command will be sent to.
command − This is the operating system command sent to the environment.
Return Value
The return value is the output of the command sent to the operating system.
Example
/* Main program */ options arexx_bifs say address() address system dir
When we run the above program we will get the following result. The output depends from system to system. The following is an example of how the output would look like.
Output
SYSTEM
Volume in drive H is Apps
Volume Serial Number is 8E66-AC3D
Directory of H:\Apps\Programs
06/29/2016 09:33 PM <DIR> .
06/29/2016 09:33 PM <DIR> ..
06/30/2016 12:55 PM 73 main.rexx
1 File(s) 73 bytes
2 Dir(s) 313,090,973,696 bytes free
rexx_instructions.htm
Advertisements