Home Applications Organize-ZLANG

Organize-ZLANG

This application is not supported by InterSystems Corporation. Please be notified that you use it at your own risk.
3.5
1 reviews
0
Awards
137
Views
0
IPM installs
0
3
Details
Releases
Reviews
Issues
Pull requests
Articles
Clean-up your %ZLANG****

What's new in this version

adjust to newer IRIS version

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

Read more
Made with
Version
1.0.605 Nov, 2023
ObjectScript quality test
Category
Technology Example
Works with
CachéEnsembleInterSystems IRIS
First published
19 Jul, 2020
Last checked by moderator
27 Jun, 2023Works