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

Home » Public Forums » archive » LIST to STRUCTURE
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: LIST to STRUCTURE [message #93183 is a reply to message #93182] Mon, 09 May 2016 17:32 Go to previous message
Heinz Stege is currently offline  Heinz Stege
Messages: 189
Registered: January 2003
Senior Member
Hi Jordan,

here is some code which may need adding error-checking:

result=!null
for i=0,n_elements(data_str)-1 do $

result=create_struct(result,tag_names(data_str[i],/structure ),data_str[i])

Cheers, Heinz
[Message index]
 
Read Message
Read Message
Previous Topic: Orthographic projection using parametrized ellipsoid
Next Topic: TEST

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

Current Time: Wed Oct 08 17:33:44 PDT 2025

Total time taken to generate the page: 0.00434 seconds