Contents | Prev | Next

4.2.59.1 The feature constants

Irie Pascal supports several built-in constants that an application can pass to the built-in function supported to determine if particular features are available on the current platform.

One approuch is to have your application check on start-up to make sure all necessary features are available. If a necessary feature is not available your application could then report which feature is missing and abort.

Another approuch is to have your application run with reduced functionality if certain features are not available.

For example an application could pass the feature_odbc constant to the supported function to determine if ODBC is supported before attempting to use ODBC to connect to a database.

The feature constants are listed below:

Contents | Prev | Next