[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Simple number formatting problem
- Subject: Re: Simple number formatting problem
- From: Paul van Delst <pvandelst(at)ncep.noaa.gov>
- Date: Wed, 02 Aug 2000 11:59:24 -0400
- Newsgroups: comp.lang.idl-pvwave
- Organization: CIMSS @ NOAA/NCEP
- References: <39883794.171F017@mathstat.dal.ca> <398859D5.875C558@bigelow.org>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:20603
Ben Tupper wrote:
>
> Hello,
>
> I been down this street before. Try using the PARSE_FILENAME() function
> below. I also added a sort_extension rotuine which worked on the files
> called Untitled.01, Untitled.12, untitled.03
[bunch of stuff snipped...]
Good lord! Maybe it's coz you use a Mac....?? :o)
The Fortran news group has regular questions about this exact same
thing. As David's answer points out, the use of iw.w formatting is oh so
helpful.
paulv
p.s. F95 has a new formatting option, i0, which would print out 1 as
"1", 10 as "10" etc. i.e. the leading blanks removed. Maybe this should
go on a future IDL feature request list....? :o)
--
Paul van Delst Ph: (301) 763-8000 x7274
CIMSS @ NOAA/NCEP Fax: (301) 763-8545
Rm.202, 5200 Auth Rd. Email: pvandelst@ncep.noaa.gov
Camp Springs MD 20746