Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.os.vms    |    DEC's VAX* line of computers & VMS.    |    264,096 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 263,835 of 264,096    |
|    =?UTF-8?Q?Arne_Vajh=C3=B8j?= to All    |
|    Re: And so? (VMS/XDE)    |
|    30 Nov 25 16:09:46    |
   
   From: arne@vajhoej.dk   
      
   On 11/30/2025 4:04 PM, Arne Vajhøj wrote:   
   > On 11/30/2025 2:21 PM, Arne Vajhøj wrote:   
   >> I would deem MUMPS obsolete as well today even though it is still   
   >> used in healthcare and a little bit in finance.   
   >   
   > This is sort of OK:   
   >   
   > test()   
   > for i=1:1:3 do   
   > . write "Hi from Mumps!",!   
   > quit   
   >   
   > But if we abbreviate commands as Mumps allow then it becomes   
   > practically unreadable for those not knowing Mumps:   
   >   
   > test2()   
   > f i=1:1:3 d   
   > . w "Hi from Mumps!",!   
   > q   
      
   The selling point is the automatic persistence of global   
   variables:   
      
   $ type globinit.m   
   globinit()   
    set ^v=0   
    set ^m("xyz")="ABC"   
    quit   
   $ mumps globinit   
   $ link globinit   
   $ run globinit   
   $ type glob.m   
   glob()   
    set ^v=^v+1   
    write ^v,!   
    set ^m("xyz")=^m("xyz")_"."   
    write ^m("xyz"),!   
    quit   
   $ mumps glob   
   $ link glob   
   $ run glob   
   1   
   ABC.   
      
   $ run glob   
   2   
   ABC..   
      
   $ run glob   
   3   
   ABC...   
      
   Arne   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca