Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- OSLIB v1.05 - <b>ol_ismswin()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 OL_IsMSWin()
 Check to see if we are running under MS-Windows.
------------------------------------------------------------------------------

 Syntax

       OL_IsMSWin() --> lIsWin

 Arguments

      None.

 Returns

      A logical value, .T. if we are running under MS-Windows, .F. if
      not.

 Description

      OL_IsMSWin() can be used to check if your application is been run
      under MS-Windows. This could come in handy if you want to provide
      your users with extra features such as pasting text into the
      Windows clipboard.

 Examples

      // Check if we are running under MS-Windows.

      If OL_IsMSWin()
         ? "Oh well, never mind....."
      Else
         ? "Ahhh! This ain't Windows.... ;-)"
      EndIf

 Source: ISMSWIN.C

 Author: Dave Pearson

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson