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

Home » Public Forums » archive » Re: delete a tagname from a structure?
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: delete a tagname from a structure? [message #9702] Sat, 09 August 1997 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
R. Bauer writes:

> I like to remove a tagname from a structure.
>
> Any ideas?

If it is an anonymous structure, you can just
redefine the structure without the tag. For example,
like this:

struct = {a:FltArr(10), b:FltArr(10), c:FltArr(10)}

To remove tag b:

struct = {a:struct.a, c:struct.c}

If you have named structures, I am afraid you are out
of luck.

Cheers,

David

----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
Customizable IDL Programming Courses
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Least Square
Next Topic: differnces in structures for idl5

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

Current Time: Wed Oct 08 13:58:25 PDT 2025

Total time taken to generate the page: 0.00205 seconds