It is currently Thu Jul 19, 2018 11:53 pm


All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: MUMPS Environment in Paideia
PostPosted: Thu Sep 01, 2011 2:52 pm 

Joined: Wed Aug 10, 2011 7:55 am
Posts: 5
Real Name: Robert Plumley
Began Programming in MUMPS: 01 Feb 2011
I recently received an account from Paideia. Got the SSH and terminaled in, and got the GMT prompt. I am also looking at two PDF guides and starting to work through them. Prior to getting this account, I was fortunate to find a DOS MUMPS interpreter, and using the "The MUMPS Programming Language" book (Kevin C. O'Kane) was able to go through the entire book and pick up a fair amount of MUMPS coding. The book refers to M2.

With the Pocket Guide and MUMPS_Programming_I pdf files I downloaded, I'm having trouble getting some basic things to work. For example, labels cause errors, and I can issue the line 'write "hello, world!" starting at column 1 rather than 2 - my DOS interpretor throws an error because the first column needs to be space (according to MUMPS), unless I have label.

1. What MUMPS version is the Paideia environment?
2. Are there any set up routines I need to perform prior to issueing MUMPS code?
3. Can we save MUMPS code to a file and run it? In the DOS interpreter, I can create a file of MUMPS code, and on the prompt, I issue do ^file.txt
4. MUMPS_Programming_I.pdf (that I downloaded) in many places are a series of periods - where code should be. Is there an more recent document?


Top
Offline Profile  
 
 Post subject: MUMPS Environment in Paideia - got the information I needed.
PostPosted: Fri Sep 02, 2011 7:52 am 

Joined: Wed Aug 10, 2011 7:55 am
Posts: 5
Real Name: Robert Plumley
Began Programming in MUMPS: 01 Feb 2011
Was able to find out a few things.

The Mumps distribution is GTM version 5.4.001. I found this on GT.M:
http://tinco.pair.com/bhaskar/gtm/doc/b ... index.html

It looks like when I write the code into files and then invoke the do ^filename (no extension - .m) it performs as it should.

The editor we use is zedit (operates much like vi in unix).

Now I'm off an ready. The URL is a good reference. For example, I was curious as to how MUMPS knows where the routines (files.m) are. I was ablt to call the $ZTRNLNM() function:

GTM>write $ZTRNLNM("gtmroutines")
/home/Robp/p /home/Robp/l /home/Robp/r /home/Robp/w /home/Robp/m


Top
Offline Profile  
 
 Post subject: Re: MUMPS Environment in Paideia
PostPosted: Fri Sep 02, 2011 12:24 pm 
User avatar

Joined: Wed Nov 17, 2010 8:37 am
Posts: 136
Real Name: Terry L. Wiechmann
Began Programming in MUMPS: 0- 0-1971
Regarding the download of MUMPS_Programming_I.pdf. I've gone through this a couple times and have no problem. I'm using Ubuntu 11.04 OS and FireFox 4.0.1 to download. I use Document Viewer 2.32.0 to view the .pdf file.

What are you using?

_________________
Terry L. Wiechmann


Top
Offline Profile  
 
 Post subject: Re: MUMPS Environment in Paideia
PostPosted: Thu Sep 22, 2011 3:37 pm 

Joined: Wed Aug 10, 2011 7:55 am
Posts: 5
Real Name: Robert Plumley
Began Programming in MUMPS: 01 Feb 2011
Wow, it's the 22nd of September - alot at work, and hadn't had any time. Thanks for responding, Terry. I think I clicked on a link with Windows explorer, but I have at home Ubuntu 11.??? version. I'll try that. I'll let you know.


Top
Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net