swirl
Guide to OmniMark 8   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 ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 8.2.0 Documentation Generated: March 13, 2008 at 3:27:39 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2008.