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

Home » Public Forums » archive » IDL structure problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
IDL structure problem [message #93629] Wed, 14 September 2016 00:16 Go to previous message
Sapna Mishra is currently offline  Sapna Mishra
Messages: 66
Registered: December 2015
Member
Dear All,

I have a structure STR which has 43 tags.
IDL> print,N_tags(STR)
43

IDL> PRINT, TAG_NAMES(STR)
SLIT_ID XTOP YTOP........ROW_9

I want to print value of ith tag of STR without mentioning the
Tag name. Can any one help??

can I do something like this?
IDL> print,STR.(ith_tag_name)
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Fitting curve to data
Next Topic: help needed in understanding correl_images

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

Current Time: Wed Oct 08 11:27:32 PDT 2025

Total time taken to generate the page: 0.00422 seconds