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

Home » Public Forums » archive » Re: Use of /APPEND keyword
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Use of /APPEND keyword [message #80832] Fri, 13 July 2012 08:04
titan is currently offline  titan
Messages: 59
Registered: March 2006
Member
On Friday, July 13, 2012 2:16:49 PM UTC+2, Klemen wrote:
> /append just apends the data to an already existing file. So if you run the code and the file doesn't exist, it will first create it but afterwards the data will allways be written in the end of this file.
>
> If you run this code because of some reason several times and you always generate the sam output, you might delete the file first (FILE_DELETE). Once the IDL finish its processing, you will always get the same output (although it would then make more sense to comment the ouput part of the code).
>
> If the data are not always the same, add some idetntifier to the file, for instance something date/time based.
>
> Cheers, Klemen

Thanks a lot for the suggestion,
I will keep it in mind. I thought it would always have written a new file deleting the old one automatically.

cheers,
Titan
Re: Use of /APPEND keyword [message #80835 is a reply to message #80832] Fri, 13 July 2012 05:16 Go to previous message
Klemen is currently offline  Klemen
Messages: 80
Registered: July 2009
Member
/append just apends the data to an already existing file. So if you run the code and the file doesn't exist, it will first create it but afterwards the data will allways be written in the end of this file.

If you run this code because of some reason several times and you always generate the sam output, you might delete the file first (FILE_DELETE). Once the IDL finish its processing, you will always get the same output (although it would then make more sense to comment the ouput part of the code).

If the data are not always the same, add some idetntifier to the file, for instance something date/time based.

Cheers, Klemen
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: java-idl connector & memory issues
Next Topic: Array Integration

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

Current Time: Wed Oct 08 18:39:23 PDT 2025

Total time taken to generate the page: 0.00402 seconds