function
| 
                
Library: LDAP support (OMLDAP legacy)
 Include: omldap.xin  | 
              
 Returns: True if versions are compatible, false otherwise.  | 
            
define external switch function ldap_IsVersionCompatible
This function is used to determine if this version of the LDAP library is compatible with the version of OmniMark currently in use. For example:
do unless ldap_IsVersionCompatible put #error "ldap library is not compatible with this version of OmniMark%n" halt with 1 done