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

Home » Public Forums » archive » converting strings to structure tags
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
converting strings to structure tags [message #49173] Wed, 28 June 2006 12:20
Koh Leong Tah is currently offline  Koh Leong Tah
Messages: 11
Registered: May 2005
Junior Member
Hi All,

does anyone know how to convert a string to a structure tag? for e. g.
I'd like to take a string as a function argument and use it to access a
structure tag like so (hypothetically):

function example,tag,i,j

restore,'struct.dat

tmp=mk_struct_tag(struct(i),tag) ; i.e. tmp=struct(i).tag

a=tmp(j) ; i.e. a=struct(i).tag(j)

return a

end

thanks,
KL
[Message index]
 
Read Message
Previous Topic: Re: IDL and C#
Next Topic: STSI Tour?

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

Current Time: Fri Oct 10 14:08:48 PDT 2025

Total time taken to generate the page: 0.56250 seconds