FTPIsVersionCompatible

function

Library: FTP support (OMFTP)
Include: omftp.xin

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


Declaration
define external switch function FTPIsVersionCompatible
as "FTPIsVersionCompatible"


Purpose

This function is used to determine if this version of the FTP library is compatible with the version of OmniMark currently in use.

To use this function, you must include the following line near the start of your program:


  include "omftp.xin"

Example:


  do unless FTPIsVersionCompatible
     put #error "OMFTP library is not compatible with this version of OmniMark"
     halt with 1
  done