Be cautious about # reads, though. You might end up blocking when the
data isn't available. But, in any case, Chris is right, this sort of
thisn is easy to code in M.
--- Chris Richardson <[EMAIL PROTECTED]> wrote:

> ...or use fixed length reads, concatonate them into a buffer and
> $PIECE them
> off (separator by space) into convenient lengths for storage or
> display.
> Most of the M engines out there can handle 510 character strings, so
> 250
> character fixed reads (READ X#250) will do well for input.  Process
> down the
> BUFFER you are extracting until the length of the BUFFER gets shorter
> than 2
> times the length of the output you want, refill the buffer with fixed
> reads
> until you get an X returned that is not 250 characters in length.
> 
>   This is pretty easy stuff for MUMPS.
> 
> 
> ----- Original Message -----
> From: "Maury Pepper" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Friday, February 25, 2005 8:36 AM
> Subject: Re: [Hardhats-members] Grrrr!!! FTG^%ZISH looses data for
> strings>255 characters
> 
> 
> awk!
> 
> ----- Original Message -----
> From: "Kevin Toppenberg" <[EMAIL PROTECTED]>
> To: "Hardhats Sourceforge" <[email protected]>
> Sent: Friday, February 25, 2005 10:24 AM
> Subject: [Hardhats-members] Grrrr!!! FTG^%ZISH looses data for
> strings>255
> characters
> 
> 
> > OK, I'm frustrated.
> >
> > My transcriptionists are using a wordprocessors that
> > automatically wrap lines.  Thus a paragraph is stored
> > in a text file as one long line.  This is often longer
> > than 255 characters.  I was under the impression that
> > FTG^%ZISH was aware of this limitation and would wrap
> > the line when uploading strings.
> >
> > It doesn't.
> >
> > This means that I now have many progress notes that
> > have been erroneously truncated.
> >
> > Any thoughts?
> >
> > Kevin
> >
> >
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Mail - You care about security. So do we.
> > http://promotions.yahoo.com/new_mail
> >
> >
> > -------------------------------------------------------
> > SF email is sponsored by - The IT Product Guide
> > Read honest & candid reviews on hundreds of IT Products from real
> users.
> > Discover which products truly live up to the hype. Start reading
> now.
> > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > _______________________________________________
> > Hardhats-members mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/hardhats-members
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real
> users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick
> _______________________________________________
> Hardhats-members mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/hardhats-members
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real
> users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Hardhats-members mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/hardhats-members
> 


=====
A practical man is a man who practices the errors of his forefathers. 
--Benjamin Disraeli
====
Greg Woodhouse 
[EMAIL PROTECTED] 
[EMAIL PROTECTED] 





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to