What does the "Routine Prefix" setting of a package do?
Studio's "Package Information" dialog, accessed from the context menu of a package on the Namespace tab of the Workspace pane, includes a field titled "Routine Prefix"
Help says this is a "String that is used as a prefix for the routines generated from classes in this package".
But if it set a string here, then recompile a class in the package, it doesn't affect the name of the generated routine(s). Nor does it influence the routine names generated when I create new classes in the package and compile them. I have tested on 2016.1.
The setting gets stored in the RtnPrefix property of the package's %Dictionary.PackageDefinition instance.
But where will I see the effects of setting it to a non-empty value?
Comments
I'm not sure if this is actually used anymore. I believe this was a feature before package mapping it would set the ^oddPKG global to something like: ^oddPKG("User")="<value>" , so that you could have routines be generated with a prefix of your choosing.
That's what I suspect. And if correct then it's about time the UI and documentation caught up.