Leaving a PML File with the RETURN Command
- Last UpdatedNov 10, 2025
- 1 minute read
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.