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

Home » Public Forums » archive » Using a text list to populate a LIST() in IDL
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: Using a text list to populate a LIST() in IDL [message #87715 is a reply to message #87711] Tue, 25 February 2014 06:09 Go to previous messageGo to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
Ooo... nice one. Much simpler/better.

On 02/24/14 23:04, Dick Jackson wrote:
> Hi folks,
>
> If an extra copy of the strings will fit in memory, this might be easier:
>
> f = 'test_string.txt'
> strs = StrArr(File_Lines(f))
> OpenR, unit, f, /Get_LUN
> ReadF, unit, strs
> Free_LUN, unit
> strList = List(strs, /EXTRACT)
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to use IDL in a cronjob?
Next Topic: learning how to use mpfit,. need help

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

Current Time: Wed Oct 08 15:26:56 PDT 2025

Total time taken to generate the page: 0.00443 seconds