MUMPS Globals : A Primer for the PHP Programmer

If you were to exit from your MUMPS session, the array would disappear, just like a PHP array once the page or session has gone. Now here’s the fun bit. To store this employee record permanently to disc, ie as a Global, just add a “^” in front of the array name: ^Employee(company,country,office,employeeNumber) = employeeDetails. eg ................
................