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

Home » Public Forums » archive » Re: Simple number formatting problem
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: Simple number formatting problem [message #20993] Thu, 03 August 2000 00:00 Go to previous message
Luis Alonso is currently offline  Luis Alonso
Messages: 27
Registered: February 2000
Junior Member
> 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)

strtrim do remove leading blanks. and it would not be longer to write than
the Format thing.

What i really thougt is that the print command shoud print numbers without
any kind of formatting (means no leading blanks, no cutting out decimals...)
unless the format command is used.

It is a pain to keep on writing that strtrim stuff...
And when i need formated print i actually use the format keyword.

That's one other wish for me. Although i know it won't be wellcomed because
of back compatibility

Greets
Luis Alonso
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: xwindow, idl5.2, win2k
Next Topic: xwindow, idl5.2, win2k

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

Current Time: Wed Oct 08 15:37:21 PDT 2025

Total time taken to generate the page: 0.00406 seconds