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

Home » Public Forums » archive » Dynamically create variable from header when reading in ascii data
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: Dynamically create variable from header when reading in ascii data [message #76005 is a reply to message #75914] Mon, 09 May 2011 08:43 Go to previous message
Brian Wolven is currently offline  Brian Wolven
Messages: 94
Registered: May 2011
Member
If you're not running IDL 8+ yet (in which case the hash approach isn't available), you might also use create_struct to generate structure elements with the tag name set to the col_titles value and the tag contents set to the data values. If you've initialized the structure (defined first tag), repeated calls to create_struct will then append each new variable to the structure, which may then be passed back to the calling procedure as a single entity.
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Just a question about licence
Next Topic: SUBSET_by_EVF

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

Current Time: Thu Oct 09 21:47:16 PDT 2025

Total time taken to generate the page: 0.35815 seconds