Is there any way to extend Cache ObjectScript using custom-defined commands and symbols?
Has anybody defined their own Cache ObjectScript (COS) commands and symbols? Is it even possible? For a list of currently used commands and symbols please use the following link.
http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=RCOS
Discussion (3)1
Comments
Hi, Stephen!
Maybe you are looking for something like that article by [@Eduard Lebedyuk]?
Here is the related documentation.
What about using more complex subcommand prefixes such as
ZZMYCOMMAND /MYSWITCH:OPT1:"some_param"
Could you code that using %ZLANG ?
http://docs.intersystems.com/cache20141/csp/docbook/DocBook.UI.Page.cls?KEY=GSTU_customize#GSTU_customize_zlang Extending Languages with ^%ZLANG Routines.