Thanks to both you and Rony! Looks like we need an update to the Rexx Ref. on this ;-).

On 8/7/2020 3:05 PM, Enrico Sorichetti via Oorexx-devel wrote:
Just tested

Last login: Fri Aug� 7 09:45:30 on ttys000
*~*% rexx -e "say .rexxinfo~platform" [enrico@enrico-imac]
DARWIN
*~*% [enrico@enrico-imac]


E


On 7 Aug 2020, at 20:57, Gil Barmwater <gi...@windstream.net <mailto:gi...@windstream.net>> wrote:

I have run into a case where an ooRexx program needs to determine the type of OS under which it is running. .RexxInfo~platform gives me either WindowsNT or Linux. However, if it is Linux, it may be Mac. What is the easiest way to determine that fact? Thanks!

--
Gil Barmwater



_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net <mailto:Oorexx-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/oorexx-devel



_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

--
Gil Barmwater

_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to