PML Customisation User Guide

Variables, Objects, Functions and Methods : PML Functions and Methods : Storing and Loading PML Functions
When a PML Function is called it is loaded automatically from its source file in a directory located via the environment variable PMLLIB. The name of the external file must be lowercase and must have the .pmlfnc suffix. The source of a PML Function invoked as !!AREA or !!Area or !!area all correspond to the file named area.pmlfnc.
Note:
The!! signifies that the function is user-defined and that it is global - but !! does not form part of the external filename. All user-defined functions are global and only one may be defined per file.
Note:
The define function must be the first line in the file and that its name and the file name must correspond.

1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
AVEVA Logo