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 #26880 is a reply to message #26879] Wed, 03 October 2001 09:14 Go to previous messageGo to previous message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
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 :-)

Cheers,
Pavel
[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: Wed Oct 08 18:38:39 PDT 2025

Total time taken to generate the page: 0.00466 seconds