Product Site

7.4.3. ADDRESS

Returns the name of the environment to which commands are currently submitted. Trailing whitespace characters are removed from the result.

Here is an example:
Example 7.7. Builtin function ADDRESS
Say ADDRESS()    -->    "CMD"   // default for Windows

Say ADDRESS()    -->    "sh"    // default for Unix-like systems