NETIsVersionCompatible

function

Library: Network utilities (OMNETUTL legacy)
Include: omnetutl.xin

Returns: true if the Network Utilities library is compatible with this version of OmniMark, false otherwise


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