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

AVEVA™ Engineering

Leaving a PML File with the RETURN Command

  • Last UpdatedOct 21, 2022
  • 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