3 ms·
It has been done. The most popular form of MUMPS out there, Caché ObjectScript is a superset of MUMPS, so all existing MUMPS code will run on Caché. But it add
by quink 13y ago
It has been done. The most popular form of MUMPS out there, Caché ObjectScript is a superset of MUMPS, so all existing MUMPS code will run on Caché.
But it adds a big bunch of things from error handling to better variable scope to classes to, I wish I was kidding, proper 'if'.
Something that's also been added (to GT.M as well, afaik), because it is so tightly integrated with its database, are tcommit, trollback and tstart as commands, which are strictly speaking database commands and not the kind of thing you'd expect to find in a programming language.
- kd0amg 13y agoproper 'if' What (if anything) does MUMPS proper have for 'if'?
- quink 13y ago'if'. There's two different types of if constructs, and it's awful, the older one is with a dot syntax. What's a dot syntax, you may ask? Well, for each level of the if you just prefix a dot: http://docs.intersystems.com/cache20131/csp/docbook/DocBook.UI.Page.cls?KEY=RCOS_cdo_legacy http://docs.intersystems.com/cache20131/csp/docbook/DocBook.... Makes you want to stab your eyes out. Note also that the comments need to have a dot prefixed as well. That bit me before.
- iSnow 13y ago>This may be the Stockholm syndrome speaking, but it's pretty alright. >Makes you want to stab your eyes out. I dunno...