How can a custom name for the main() function be used?

In the prm file, use:

  MAIN myMain