Re: Memory Allocation Problem [message #81117 is a reply to message #32923] |
Wed, 15 August 2012 17:27   |
Craig Markwardt
Messages: 1869 Registered: November 1996
|
Senior Member |
|
|
On Wednesday, August 15, 2012 1:59:38 PM UTC-4, adh...@gmail.com wrote:
> 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.
The shortest answer if you are just starting out, don't worry about TEMPORARY(), just set the variable to 0.
LATLON = 0
It works 99.99999% as well. Who cares if it uses two bytes of storage?
The short answer is, download the file from Fanning's site and put it in your current directory. That works as long as you don't change to another directory.
The slightly longer answer is, download the file and put it with your IDL path. Learn about your IDL path.
The even longer answer is, download everything from Fanning's site and put it in your path!
Strangely, the longest answer is the shortest to write.
Craig
|
|
|