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

Home » Public Forums » archive » Re: execute 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
Re: execute problem [message #7954 is a reply to message #7953] Thu, 30 January 1997 00:00 Go to previous message
Phil Williams is currently offline  Phil Williams
Messages: 78
Registered: April 1996
Member
There goes that damn SEND button again!

Phil Williams wrote:
>
> One way that I could think of off the top of my head would be to
> reference your structures via tag number instead of tag name. i.e.
>
> structure.(0).(1).(10)
>
> I'd imagine that there might be some overhead if you are using anonymous
> strutures to determine the tag placement. Something like,
>

You'll probably need quotes here. :)

> names = tag_names(structure)
> index1 = where(names eq 'structure2')
> names = tag_names(structure.(index))
> index2 = where(names eq 'structure3')


>
> etc.
>
> ps = ').('
> command = $
> 'print, structure.('+strtrim(index1,2)+ps+strtrim(index2,2)+ps+....
>
> Hope this helps,
> Phil
>
> --
> /*********************************************************** ********/
> Phil Williams, Ph.D.
> Research Instructor
> Children's Hospital Medical Center "One man gathers what
> Imaging Research Center another man spills..."
> 3333 Burnet Ave. -The Grateful Dead
> Cincinnati, OH 45229
> email: williams@irc.chmcc.org
> URL: http://scuttle.chmcc.org/~williams/
> /*********************************************************** ********/

--
/*********************************************************** ********/
Phil Williams, Ph.D.
Research Instructor
Children's Hospital Medical Center "One man gathers what
Imaging Research Center another man spills..."
3333 Burnet Ave. -The Grateful Dead
Cincinnati, OH 45229
email: williams@irc.chmcc.org
URL: http://scuttle.chmcc.org/~williams/
/*********************************************************** ********/
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Angstrom symbol?
Next Topic: idl and Dec unix V4

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

Current Time: Fri Oct 17 21:30:56 PDT 2025

Total time taken to generate the page: 1.20999 seconds