_Dos, _Mac, _Unix, _Windows
These system variables tell you which platform FoxPro is running on. In Visual FoxPro for Windows, _WINDOWS is true and the rest are false. In VFP/Mac, _MAC is .T. If we ever see Visual FoxPro for the other platforms, we expect we'll see the matching system variables set true, but we're not holding our breath.
Usage |
lIsDos = _DOS lIsMac = _MAC lIsUnix = _UNIX lIsWindows = _WINDOWS |
Example |
DO CASE CASE _WINDOWS MODIFY WINDOW screen FONT "Arial",10 CASE _MAC HIDE WINDOW screen ENDCASE |
See Also |