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

Home » Public Forums » archive » Modify txt 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: Modify txt file [message #85042 is a reply to message #85039] Wed, 26 June 2013 06:55 Go to previous messageGo to previous message
Bill Nel is currently offline  Bill Nel
Messages: 31
Registered: October 2010
Member
You can do this with point_lun. You have to keep track of the file offset to your line 3 as your write the original file. And the string you're substituting has to have exactly the same number of bytes as the original. I've done it (to fill in a fixed length text field with a value that isn't known until more of the file is written), but I don't recommend it as a general technique.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL 8.2.2 direct graphics output to PDF?
Next Topic: coyote graphics /iso command

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

Current Time: Wed Oct 08 20:10:21 PDT 2025

Total time taken to generate the page: 0.41888 seconds