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

Home » Public Forums » archive » Re: Declaration of variables in IDL
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: Declaration of variables in IDL [message #26876 is a reply to message #26875] Wed, 03 October 2001 09:32 Go to previous messageGo to previous message
Paul van Delst is currently offline  Paul van Delst
Messages: 364
Registered: March 1997
Senior Member
"Pavel A. Romashkin" wrote:
>
> Hans de Boer wrote:
>>
>> the code seems to run quite nicely and the poor
>> programmer is left with apparently correct results.
>> I also have found that people new to IDL have generated extremely sneaky
>> bugs this way.
>
> This is a good example of what you can use the sophisticated system of
> breakpoints that IDL comes with. Debugging is convenient and simple. The
> only thing not there is an automatic coffe pot that would brew any time
> a bug is found :-)
> As a universal method, you could check SIZE, /TYPE every time you use a
> variable. Never fails, but may double your code length when used on
> every second line :-)

It tripled mine until I discovered the wonders of CATCH. :o)

paulv

--
Paul van Delst Religious and cultural
CIMSS @ NOAA/NCEP purity is a fundamentalist
Ph: (301)763-8000 x7274 fantasy
Fax:(301)763-8545 V.S.Naipaul
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Is there a line widget
Next Topic: global singleton object ?

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

Current Time: Fri Oct 10 13:13:29 PDT 2025

Total time taken to generate the page: 8.07906 seconds