Product Site

5.1.5.17. findPublicRoutine

Returns the public routine named name. Returns .nil if no public routine of the specified name exists within the scope of the receiving package.

See also methods publicRoutines and findRoutine.

Example 5.44. Package class — findPublicRoutine method
say .context~package~findPublicRoutine("Dummy")~source    -- "nop"

::routine Dummy public
nop