comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: append to the first line of a text file....
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: append to the first line of a text file.... [message #74436 is a reply to message #74435] Fri, 14 January 2011 09:34 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
George Millward writes:

> I am wanting to 'append' an ascii file - but instead of appending the
> new data to the bottom
> I want the new data to be at the top of the file.
>
> Does anyone have any suggestions ?

Have you tried positioning the file pointer to the
beginning of the file with POINT_LUN? Worth a try,
I guess. You may have to include your own carriage
return.

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: instructor solution manual for Analytical Chemistry, Higson
Next Topic: Re: How to speed up or remove this FOR loop

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 13:15:39 PDT 2025

Total time taken to generate the page: 0.32197 seconds