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

Home » Public Forums » archive » Re: Format strings with comma separated lists
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 strings with comma separated lists [message #15353] Tue, 11 May 1999 00:00 Go to previous message
Martin Schultz is currently offline  Martin Schultz
Messages: 515
Registered: August 1997
Senior Member
Vapuser wrote:
>
> Well, am I'm surprised!
>
> [...]
> Apparently, the short answer is you don't need to use format strings
> on input, provided, I guess, the data is homogeneous and with a
> constant number of columns(?); IDL understands that you don't want the
> comma.


Here is an example of why I am really glad that IDL does support format
strings:
23.4 12.2 12.1 10.0
56.4 98.4103.2143.9
200.2232.8165.1 99.7

AND believe it or not: those files exist and there are plenty of them
;-)
Also: format strings are probably the easiest way to (safely) convert a
file that is written in e.g. 60 lines with 8 numbers per line to an
array
of (40,12) [it's just one statement!]

Martin.

puhuu. didn't know that i am that old - i know something about format !

--

|||||||||||||||\\\\\\\\\\\\\-------------------///////////// //|||||||||||||||
Martin Schultz, DEAS, Harvard University, 29 Oxford St., Pierce 109,
Cambridge, MA 02138 phone (617) 496 8318 fax (617) 495 4551
e-mail mgs@io.harvard.edu web http://www-as/people/staff/mgs/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Neuronal Network Programming Tool
Next Topic: Plotting using Symbols (Object Graphics only)

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

Current Time: Fri Oct 10 17:40:07 PDT 2025

Total time taken to generate the page: 0.72222 seconds