![]() ![]() ![]() ![]() ![]() ![]() ![]() |
|||||
|
|
|||||
| function | MailIsVersionCompatible | ||||
| Other Library Functions |
|
Library: Mail
Include: ommail.xin |
Returns: Switch
Returns true if the Mail library is compatible with this version of OmniMark, and false if this version of the library is designed for a newer OmniMark version. |
define external switch function MailIsVersionCompatible as MailIsVersionCompatible
This function is used to determine if this version of the Mail library is compatible with the version of OmniMark in use.
Example:
do unless MailIsVersionCompatible
put #error "OMMail library is not compatible with this version of OmniMark"
halt with 1
done
| ---- |