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

Home » Public Forums » archive » Re: IDL Windows Question
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 Windows Question [message #77069] Tue, 02 August 2011 04:29 Go to previous message
Wout De Nolf is currently offline  Wout De Nolf
Messages: 194
Registered: October 2008
Senior Member
On Mon, 1 Aug 2011 12:07:04 -0600, David Fanning <news@idlcoyote.com>
wrote:

> This is Windows 7 with all updates running IDL 7.1.
> Any ideas about this?

A file has three different timestamps
1. File-Create time
2. Last-Modify (Last-Write) time
3. Last-Access time

From the examples below you see that the timestamps get updated
(marked with *) as you would expect:

A. Create a new PNG file
write_png,'c:\testimage.png',bytarr(200,200)
1. dinsdag 2 augustus 2011, 13:19:52
2. dinsdag 2 augustus 2011, 13:19:52
3. dinsdag 2 augustus 2011, 13:19:52

B. Create a PNG file with the same name
write_png,'c:\testimage.png',bytarr(200,200)
1. dinsdag 2 augustus 2011, 13:19:52
2. dinsdag 2 augustus 2011, 13:20:11 (*)
3. dinsdag 2 augustus 2011, 13:20:11 (*)

C. Create a new PNG file
write_png,'c:\image.png',bytarr(200,200)
1. dinsdag 2 augustus 2011, 13:12:52
2. dinsdag 2 augustus 2011, 13:12:52
3. dinsdag 2 augustus 2011, 13:12:52

D. Copy the file
file_copy,'c:\image.png','c:\image2.png'
1. dinsdag 2 augustus 2011, 13:15:35 (*)
2. dinsdag 2 augustus 2011, 13:12:52
3. dinsdag 2 augustus 2011, 13:15:35 (*)
(image.png timestamps not changed)

E. Move the file
file_move,'c:\image2.png','c:\image3.png'
1. dinsdag 2 augustus 2011, 13:15:35
2. dinsdag 2 augustus 2011, 13:12:52
3. dinsdag 2 augustus 2011, 13:16:49 (*)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Efficient pattern-matching in a large array
Next Topic: IDL Windows Question

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

Current Time: Fri Oct 10 13:14:54 PDT 2025

Total time taken to generate the page: 1.04378 seconds