Custom Language Elements (Tools/APIs)
You can use the ^%ZLANG extension feature to add custom commands, functions, and special variables to the ObjectScript and other languages. Then you can invoke your extensions in the same way as standard features.
To add custom language elements, define routines as described in “Extending Languages with %ZLANG Routines” in Caché Specialized System Tools and Utilities.
Availability: You define these routines in the %SYS namespace and they affect all namespaces.