Functions and Methods may optionally have arguments that can be used to return values.
Here is a definition of a PML Function that has two REAL arguments. It also has a
REAL return value, as shown by the final
is REAL:
Here ' FRED ' is a string constant passed as an argument. You could rewrite this function so that it returns its results by changing its arguments. The output argument,
!Length, will be set to the value required when the function is called: