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

Home » Public Forums » archive » Re: Format codes for comma separated 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: Format codes for comma separated data [message #57759 is a reply to message #57757] Thu, 20 December 2007 12:21 Go to previous messageGo to previous message
Brian Larsen is currently offline  Brian Larsen
Messages: 270
Registered: June 2006
Senior Member
Here is a simple example of the issue:

I made a test file called test_dat.txt that has a bunch of lines of
a, b, 0, 1, 2, 3
a, b, 0, 1, 2, 3
a, b, 0, 1, 2, 3
a, b, 0, 1, 2, 3
a, b, 0, 1, 2, 3
a, b, 0, 1, 2, 3
a, b, 0, 1, 2, 3


IDL> file = 'test_dat.txt'
IDL> openr, lun, file, /get_lun
IDL> a = strarr(6)
IDL> readf, lun, a
IDL> print, a
a, b, 0, 1, 2, 3 a, b, 0, 1, 2, 3 a, b, 0, 1, 2, 3 a, b, 0, 1, 2, 3 a,
b, 0, 1, 2, 3 a, b, 0, 1, 2, 3


What I would hope to get would be:
a, b, 0, 1, 2, 3


Issue make sense?


Brian

------------------------------------------------------------ --------------
Brian Larsen
Boston University
Center for Space Physics
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Format codes for comma separated data
Next Topic: IDL 7 on Ubuntu

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

Current Time: Sun Oct 12 19:26:02 PDT 2025

Total time taken to generate the page: 0.95841 seconds