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

Home » Public Forums » archive » IDL 5.3 serious problem: save files sneakily restored
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: IDL 5.3 serious problem: save files sneakily restored [message #21798 is a reply to message #21452] Thu, 21 September 2000 00:00 Go to previous messageGo to previous message
Theo Brauers is currently offline  Theo Brauers
Messages: 58
Registered: November 1997
Member
Mark Hadfield wrote:
>
> In Python (which is many ways similar to IDL) the corresponding extensions
> are .py (source code) and .pyc (compiled). When a .py file is compiled, a
> .pyc file is created in the same directory. Thereafter Python loads the .pyc
> unless the .py has a more recent modification date. This is one of those
> ideas that is so clever it seems obvious once someone else has thought of
> it. Why can't IDL do that?
>
Because RSI wants you to write more IDL code :-) ! We had a similar problem with
reading large ASCII data files: you read the once ( file1.dat ) and save the data
using SAVE ( file1.dat.sav ). When we re-read the file we check the modification
date of both files and read the newer one. It works fine now but it was written
partly in C to get the modification date of each file also in windows. Anyway,
I read that IDL5.4 will have a full function FSTAT with it.

Theo


--
----------------------------------------------
Dr. Theo Brauers
Institut fuer Atmosphaerische Chemie (ICG-3)
Forschungszentrum Juelich
52425 JUELICH, Germany
Tel. +49-2461-61-6646 Fax. +49-2461-61-5346
http://www.kfa-juelich.de/icg/icg3/MITARBEITER/th.brauers.ht ml
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: LINKLOAD, aix, pv-wave?
Next Topic: Re: TWO DIFFERENT COLOR TABLES IN SAME WINDOW

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

Current Time: Fri Oct 10 10:20:23 PDT 2025

Total time taken to generate the page: 0.72250 seconds