I tend to avoid post conditionals nowadays as I long ago realised, as with your other examples, readability was far more important.
Only one I do not personally do is the Command Arguments example, I'm old and set in my ways and like using the comma 😁
Another possible mention might be "goto".
Oh, and your note on functions not being case-sensitive is only for system (intrinsic) functions.
I think the message overall is we no longer have the same memory and screen limitations and so spaced out, readable, and maintainable code is far more important than the old compacted method of writing mumps/objectscript.
Hi, best thing would be to not use the built-in web server (PWS) and set-up your own Web Gateway in IIS or Apache.
These are links to some of the relevant documentation
Web Servers for Microsoft Windows | CSP Gateway Configuration Guide | Caché & Ensemble 2018.1.4 – 2018.1.8 (intersystems.com)
Web Gateway | InterSystems IRIS Data Platform 2023.3
Pipes are also a good way to interact with an OS command or external program
Pipes | InterSystems IRIS Data Platform 2023.3
Log in or create a new account to continue