[REBOL] Re: How to detect type of OS
From: dockimbel:free at: 3-Jul-2002 10:47
Hi, switch system/version/4 [ 1 [print "I'm on AmigaOS"] 2 [print "I'm on MacOS"] 3 [print "I'm on Windows"] 4 [print "I'm on Linux Libc6"] ... ] See http://www.rebol.com/platforms.html for a complete list. HTH, -DocKimbel. Gregg Irwin wrote: