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 #57754 is a reply to message #57753] Thu, 20 December 2007 12:35 Go to previous messageGo to previous message
Brian Larsen is currently offline  Brian Larsen
Messages: 270
Registered: June 2006
Senior Member
> I usually use an "x" to represent commas. ;-)
>
> Unless, of course, you want to read them as something.
> But I usually just ignore them.

OK, but none of my format attempts are working... for my simple
example above it seems that format='(2A0,4I0)' should work, but it
doesn't.

IDL> dat = {a:'', b:'', c:0, d:0, e:0, f:0}
IDL> openr, lun, file, /get_lun
IDL> readf, lun, dat, format='(2A0,4I0)'
% End of input record encountered on file unit: 101.
% Execution halted at: $MAIN$





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: Thu Oct 16 20:47:57 PDT 2025

Total time taken to generate the page: 1.11984 seconds