Storing and Loading PML Functions
- Last UpdatedOct 29, 2024
- 1 minute read
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.