swirl
Guide to OmniMark 7   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
      Other Library Functions  
function  

NETIsVersionCompatible

 
 

Library: Network utilities (OMNETUTL) legacy library
Include: omnetutl.xin
Return type: Switch
Returns: 

Returns true if the Network Utilities library is compatible with this version of OmniMark. It returns false if this version of the library is designed for a newer version of OmniMark.


Declaration

  define external switch function NETIsVersionCompatible
  as NETIsVersionCompatible


Purpose

Use NETIsVersionCompatible to determine if this version of the Network Utilities library is compatible with the version of OmniMark currently in use.

Requirements

You must include the following line at the beginning of your OmniMark program:

  include "omnetutl.xin"

Example


  include "omnetutl.xin"

  process
     do unless NETIsVersionCompatible
        put #error "omnetutl library is not compatible with this version of OmniMark"
        halt with 1
     done

        Other Library Functions
   from-net-long
   NETGetHostIP
   NETGetHostName
   NETIsVersionCompatible
   NETLibraryVersion
   net-long
   to-net-long
 
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACYLIBRARIES ] [ ERRORS ]

OmniMark 7.1.2 Documentation Generated: June 28, 2005 at 5:45:33 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © Stilo Corporation, 1988-2005.