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

Home » Public Forums » archive » Re: Renaming tags in an array of structures
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: Renaming tags in an array of structures [message #72528 is a reply to message #72525] Fri, 17 September 2010 06:30 Go to previous messageGo to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
Michael Williams wrote:
> I have an array of structures:
>
> IDL> x = {a: 1, b:2, c: indgen(5)}
> IDL> xx = replicate(x, 10)
>
> In this case, I want to rename the 'b' tag to 'foo' and the 'c' tag to
> bar.

Can one inquire why you would like/need to do this?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: color tiffs
Next Topic: Re: IDL 8.0; difficulties with "New Graphics"

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

Current Time: Fri Oct 10 15:20:24 PDT 2025

Total time taken to generate the page: 0.71975 seconds