Organize ZLANG


Follow
0
Star
3
Details
Releases
Issues
This application is not supported by InterSystems Corporation. Use it at your own risk.

What's new in this version

add image

Clean-up your %ZLANG*00
This is a coding example working on IRIS 2020.1 and on Caché 2018.1.3 
It will not be kept in sync with new versions      
It is also NOT serviced by InterSystems Support !   

The guide “Extending Languages with %ZLANG Routines”
Tells you all details you need to know to extend your programming language.
EXCEPT: How to do it in a clean way.

This example of a %ZLANGC00.mac may show a possible approach
to get an easy to overview and to manage setup.
With less than 50 lines of code you might not be affected.
But if your Studio shows close to 1000 rows or more you may get in troubles.

My recommendation is simple.
Instead of adding line by line commands and it's code
you isolate each command and its code into a separate Include file.

And what is left in your %ZLANG* Routines is simple and easy to
overview list of included customized Commands, Functions, Variables
See the details in an example for %ZLANGC00.mac . To prevent conflicts
with existing %ZLANGC00.mac it is named here ZLANGC00.mac
-------
BTW: #include can do more than just host #define, .. for $$$_references

Article in DC

ZPM installation
zpm "install organize-zlang"
Category
Technology Example
Works with
EnsembleCachéInterSystems IRIS
Tags
Info
Version
1.0.2
Last updated
2020-07-25
Repository
Open
Documentation
Open
License
Link