PML Customisation
User Guide
General Features of PML
:
Functions, Macros and Object Definitions
: Leaving a PML File with the RETURN Command
Leaving a PML File with the RETURN Command
At any point within a PML File a
return
command will stop further execution of the file and return to the calling PML File, if there is one:
if ( !count EQ 0 ) then
return
endif
For clarity,
return
can be used as the final line of a PML Macro. However, the use of this command is not essential and there will be no error if it is not used.
Note:
This is a different use of
return
from the command used to set return values of variables.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.