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

Home » Public Forums » archive » Re: Indexing into 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: Indexing into Structures??? [message #32124 is a reply to message #32123] Thu, 19 September 2002 03:25 Go to previous message
Brian Huether is currently offline  Brian Huether
Messages: 12
Registered: September 2002
Junior Member
Okay I figured this out - I can use the notation A=S.(i) to access a field
by index instead of by name.


"Brian Huether" <bhuether@earthlink.net> schrieb im Newsbeitrag
news:3d89930d_5@news.teranews.com...
> I need to be able to access structure fields within a for loop, meaning
that
> I can't reference the field by name. In MATLAB it was easy to access
> Structure fields by simply using index values. Can someone tell me if it
is
> possible to do this in IDL? If it isn't, then that is really a major
> shortcoming.
>
> -brian
>
>
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Indexing into Structures???
Next Topic: Re: How do I use FORMAT as I would SPRINTF?? Please Help!

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

Current Time: Sun Oct 12 06:07:32 PDT 2025

Total time taken to generate the page: 0.87703 seconds