Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Hull and Outfitting

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.

TitleResults for “How to create a CRG?”Also Available in