swirl
Guide to OmniMark 9   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
  Related Topics   Other Library Functions  
function  

dbIsVersionCompatible

 
 

Library: Database access (OMDB legacy)
Include: omdb.xin
Return type: Switch

Returns: True if versions are compatible, false otherwise.


Declaration

define external switch function dbIsVersionCompatible


Purpose

Use dbIsVersionCompatible to determine if the version of the database 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 "omdb.xin"

Usage Notes

None.

Example


  do unless dbIsVersionCompatible
     put #error "omdb library is not compatible with this version of OmniMark%n"
     halt with 1
  done

    Related Topics
 
Other Library Functions
 
 

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

OmniMark 9.1.0 Documentation Generated: September 2, 2010 at 1:38:10 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2010.