Skip to main content
Previous sectionNext section

Custom Language Elements

Add custom commands, functions, and special variables to ObjectScript, Caché MVBasic, or Caché Basic.

Available Tools

^%ZLANG* extension feature

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.