Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - version() return force library version http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 version()           Return Force library version
------------------------------------------------------------------------------
 Declaration
   system.hdr

 Syntax
   func char version extern

 Arguments
   None.

 Return
   A version string.

 Description
   The version() function returns the current version of the Force library.

 Example
   #define EXAMPLE_SYSTEM
   #include example.hdr

   proc Test_version
   // print out the current Force library version
   ? "Force library version is", version()
   // make sure the application is linked with the proper Force library
   if .not. ( version() == "4.00" )
      ? "Wrong library version."
   else
      ? "Library OK"
   endif
   endproc

   proc main
   Test_version()
   endproc

See Also: __FORCE__

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