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

Home » Public Forums » archive » Undefining a variable a pointer points to
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: undefining a variable [message #50110 is a reply to message #39333] Wed, 13 September 2006 09:21 Go to previous messageGo to previous message
MarioIncandenza is currently offline  MarioIncandenza
Messages: 231
Registered: February 2005
Senior Member
Elegance certainly has its place. When you are dusting off a routine
you may have written eight years ago, and you say, 'Now why the devil
did I just set that entire huge structure = 0?', you'd better hope you
commented your code (boo!), or else used a nice intuitive command like
UNDEFINE() (yay!).



David Fanning wrote:
> Gianguido Cianci writes:
>
>> undefine.pro is clever, but sometimes it is sufficient to set that var
>> to a scalar value. That frees up the memory, though it won't free up
>> the name :-) I haven't needed undefine so far so I thought I'd post my
>> 2 cents.
>
> UNDEFINE wasn't written because it was "needed". It
> was written because it was "elegant". :-)
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: postscript character
Next Topic: Java Bridge Question

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

Current Time: Fri Oct 10 15:27:13 PDT 2025

Total time taken to generate the page: 2.39985 seconds