Mumpster
http://www.mumpster.org/

Programming Mode on a Paideia Account
http://www.mumpster.org/viewtopic.php?f=8&t=61
Page 1 of 1

Author:  linda.yaw [ Wed Dec 15, 2010 4:36 pm ]
Post subject:  Programming Mode on a Paideia Account

So, I got my Paideia account and have been happily learning MUMPS using direct mode. However, it is now time for me to move up in the world to programming mode so that I can practice with routines.

The question is, how do I access programming mode and what is the linestart character? And what else will I need to know to use it?

Any help would be appreciated.

Thank you.

Author:  whitten [ Fri Mar 25, 2011 2:14 pm ]
Post subject:  Re: Programming Mode on a Paideia Account

Generally, the method to access programming mode differs from one MUMPS programming language implementation to another.

For Cache on Microsoft Windows, you can access programming mode using the Cache Cube and selecting Terminal.

For Cache on Linux or VMS, you need to first login to the operating system and then type a command like:

csession
Syntax: csession <instance name> [parameters]
Parameters:
-"B" -> emergency login in case logins are disabled
-"U" "<namespace>" -> specify login namespace
-b <partition> -> maximum partition size for process (in KB)
"[label[+offset]]^routine" -> run routine in user mode

for GT.M on Linux or VMS,
you might have to type a command like:
mumps -d

As to the rest of the questions, the linestart character is probably a space or a tab.
I don't know where you found the word "linestart", since the standard talks about "ls" but that stands for "label separator". (see: http://71.174.62.16/Demo/AnnoStd?Frame= ... ge=a106003)

Researching a little more, I see that in the notes at http://71.174.62.16/Demo/AnnoStd?Frame= ... ge=a106001 , there is a mention of "line start".

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/