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

Home » Public Forums » archive » Re: Identify largish array with a shortish string
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: Identify largish array with a shortish string [message #60617] Fri, 30 May 2008 09:10 Go to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
Mark wrote:
> On May 29, 12:46 pm, Vince Hradil <hrad...@yahoo.com> wrote:
>> Yeah like a crc? But I'm confused as to why you need to encode the
>> information in the filename? You could also just add a timestamp...
>
> When I have run the function previously with the same inputs, I want
> it to restore the old result rather than recalculating it. (Unless I
> have deleted the temporary file in the meantime.)

you could also have an array linking your set of parameters to file
names... save and restore this array each time your call your function,
check if the parameter set is written in the array. If yes, read the
filename, open, process. If not, create a new filename that is not
present in your array, add the name and the parameter set, process, save.

Jean
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: OpenMPI
Next Topic: LAUNCH JAVA (applet) APPLICATION with IDL

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

Current Time: Wed Oct 08 18:55:31 PDT 2025

Total time taken to generate the page: 0.00965 seconds