Additional functions to call in patterns are described in
definitions blocks. In TPL 1.5,
definitions blocks are used for User defined functions and for data integration with SQL databases.
The basic form of a data integration
definitions block is:
definitions blocks must have a
type specification. Other settings may be required by certain definitions types. The
definitions block contains one or more
define blocks, describing the functions being defined. All functions that take parameters must have a
parameters specification, listing the names of the parameters to the function. (If a function takes no parameters, the
parameters specification can be missed out.) Most definitions types also require other settings in the
Once defined, functions can be called in patterns with the usual function calling syntax. Definitions can be imported from one module into another, with the usual versioning scheme.
The supported definitions types are as follows: