IFUNIX is available which is 1 on Linux & Mac and 0 on Windows IFWIN replaces IFWIN32 in J701 and I think has been back-ported to J602 too.
I think UNAME reports the following on the different platforms: Windows: Win Linux: Linux Mac: Darwin Ric On Thu, Dec 30, 2010 at 11:42 AM, Charles Turner <[email protected]> wrote: > Hi- > > I'm updating the gnuplot code to work on j701, and I think I'm getting > control errors because of the use of IFWIN32. > > Is something like UNAME-:'Linux' the approved way to test for the underlying > system? (ie, the substitute for IFWIN32?) > > If so, how do I test for Windows? UNAME-:'Windows' ? > > Thanks! Charles > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
