18.4.0 released Sep 25, 2023
Get sys

Purpose: Obtain data that describes the system.

get-sys \
    environment <var name> | web-environment <var name> \
        directory | os-name | os-version \
    to [ define ] <variable>

System-describing variables can be obtained with get-sys statement and the result stored into <variable>. The following system variables can be obtained:
Note that all the string values above should be treated as constants - do not change them as that may cause program to malfunction. If you want to alter any of these values, make a copy first (see copy-string).
Examples
Get the name of the Operating System
get-sys os-name to define os_name

See also
System information
get-sys  
OS-conditional-compilation    
See all
documentation


You are free to copy, redistribute and adapt this web page (even commercially), as long as you give credit and provide a link back to this page (dofollow) - see full license at CC-BY-4.0. Copyright (c) 2019-2023 Dasoftver LLC. Vely and elephant logo are trademarks of Dasoftver LLC. The software and information on this web site are provided "AS IS" and without any warranties or guarantees of any kind.