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

Home » Public Forums » archive » Re: problem with builtin restore
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: problem with builtin restore [message #60137] Mon, 28 April 2008 08:52 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
Reimar Bauer <R.Bauer@fz-juelich.de> writes:

> Reimar Bauer schrieb:
>> Hi
>> we found a bug in restore of idl6.4 today. (linux version)
>> if you restore lots of files with always the same vars stored we
>> would
>> suppose that the memory allocation is always only done from the last
>> restore you did.
>> It looks like that you can overwrite the vars without reallocating
>> the
>> memory.
>> The cmrestore by CraigMarkwardt does it right.
>> cheers
>> Reimar Bauer
>
> hmm I'm currently not sure if craigs routine does allocate different.

Reimar, CMSAVE/CMRESTORE just use standard IDL variables, so the
allocation should be the same as IDL's standard
allocation/deallocation. This is not quite true if you use pointers
within your saved data, but this does not apply to your example.

Craig
[Message index]
 
Read Message
Read Message
Previous Topic: IDL7.0 Workbench: configuring cursor focus
Next Topic: ROI outlining of 3D volumes (multi-slice 2D)

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

Current Time: Sat Oct 11 00:30:41 PDT 2025

Total time taken to generate the page: 0.23823 seconds