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

Home » Public Forums » archive » Re: Deleting structures (does this work, or am I missing something?)
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: Deleting structures (does this work, or am I missing something?) [message #43140] Mon, 14 March 2005 14:55
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Jonathan Greenberg writes:

> I've read a few posts about deleting named structures in IDL being
> impossible, but if I simply assign a previously defined structure name to be
> some numerical value (e.g. mystructure=0), then
> mystructure=create_struc(newstuff:newdata) should work as if mystructure
> never existed, right? It seems to be doing this on my system, but I'm
> wondering if some crazy behavior is going to pop up later...

Deleting named structure variables isn't impossible. Changing
the definition of named structures is impossible in
that IDL session. But in any case, it doesn't look like
you are creating named structures. It looks to me like
you are creating anonymous structures. :-)

Cheers,

David

P.S. I had occasion to work with French programmers last
week and this discussion reminds me of that. Very fast,
very unfocussed, throw enough lead out there and you
are sure to hit something! Whew! Maybe I'm just getting
old, but I still like to think a few minutes before my
fingers start moving. :-)

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Previous Topic: Deleting structures (does this work, or am I missing something?)
Next Topic: Re: Arrays suck. Loops rock.

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

Current Time: Fri Oct 10 14:57:21 PDT 2025

Total time taken to generate the page: 0.08253 seconds