The OPSYS
-function returns what OS the program is running on:
MESSAGE OPSYS VIEW-AS ALERT-BOX.
Result:
It can be used to select what OS-utility to call:
IF OPSYS = "LINUX" THEN
OS-COMMAND VALUE("ls -l").
ELSE
OS-COMMAND VALUE("dir").