Re: Memory Allocation Problem [message #81119 is a reply to message #32923] |
Wed, 15 August 2012 10:59   |
adhdunn
Messages: 11 Registered: July 2012
|
Junior Member |
|
|
Hi Craig,
Thank you for your response. I am pretty new to IDL so I must ask a couple of questions that are possibly a bit uneducated:
1.) Looking at David Fanning's site I see that there is a whole little .pro for this UNDEFINE procedure. Do I need to incorporate that in to my current set of programs, or is that for a different use.
2.) If I am not required to use the whole .pro file where do I execute this UNDEFINE statement? When I attempt to incorporate it in the code itself it is not recognized.
Thank you,
Allisyn
On Tuesday, August 14, 2012 7:51:51 PM UTC-4, Craig Markwardt wrote:
> On Tuesday, August 14, 2012 9:34:11 AM UTC-4, adh...@gmail.com wrote:
>
>> I will paste the other part of this section of the program below. I thought I might need to use the TEMPORARY command to free up some room but am not sure how to appropriately determine the point at which this should be placed. Any suggestions would be greatly appreciated as always!
>
>
>
> When memory constrained, use TEMPORARY() after the last time you use a variable. Example: After you use the LATLON variable once, you never use it again.
>
>
>
> Actually, I use David Fanning's UNDEFINE procedure because the semantics are better. The procedural statement,
>
> UNDEFINE, LATLON
>
> just makes sense.
>
>
>
> Craig
|
|
|