Talk About Network



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 > The simplest wa...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 895 of 959
Post > Topic >>

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

by =?iso-8859-1?q?S=E9bastien_de_Mapias?= <sglrigaud@[EMAIL PROTECTED] > Oct 8, 2007 at 07:12 AM

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




 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 Mon May 12 21:41:10 CDT 2008.