Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Mumps > Re: The simples...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 895 of 990
Post > Topic >>

Re: The simplest way to read an txt file and display it/write it to another file ?

by "K.S. Bhaskar" <ksbhaskar@[EMAIL PROTECTED] > Oct 9, 2007 at 02:38 AM

On Oct 8, 10:12 am, S=E9bastien de Mapias <sglrig...@[EMAIL PROTECTED]
> wrote:
> Hi,
> Could you tell me what's the simplest way to display a file
> at the GTM> prompt ? And how can I rewrite it to another
> one ?
>
> Moreover I have strong difficulties to understand the syntax
> of M, in particular in many example I see things like
> ~         set ...
> ~         use ...
> ~         <other instructions>
> ~         <etc.>
> ~THING1
> ~         for ...
> ~         <some instr.>
> ~THING2
> ~         while...
> ~         <etc etc.>
> When I see this does it mean this is the contents of a
> .m file (the first line and following begin with blank spaces,
> the a section starts with a string, then the following lines
> again are with spaces, then another section starts at the
> beginning etc.) ? (I've used the '~' to signify it's the beginning
> of my line)
> If I start typing at the mumps prompt like above, it fails (that's
> why I guess such examples represent the contents of M files
> don't they ?)...
>
> Thanks.
> S=E9bastien

Instead of trying to learn MUMPS in little bits and pieces from
comp.lang.mumps, let me recommend a book (http://tinyurl.com/33sj48):
M Programming - A Comprehensive Guide by Prof. Richard Walters.  The
GT.M Programmers Guide (http://www.fidelityinfoservices.com/
user_do***entation/GTM-PG-UNIX44/index.htm) is also well worth a read.

Regards
-- Bhaskar
ks dot bhaskar at fnis dot com <-- note new domain
 




 3 Posts in Topic:
The simplest way to read an txt file and display it/write it to
=?iso-8859-1?q?S=E9bastie  2007-10-08 07:12:24 
Re: The simplest way to read an txt file and display it/write it
rodd@[EMAIL PROTECTED] (  2007-10-08 17:39:41 
Re: The simplest way to read an txt file and display it/write it
"K.S. Bhaskar"   2007-10-09 02:38:52 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Jul 20 0:20:06 CDT 2008.