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

Home » Public Forums » archive » Formatting output
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Formatting output [message #23439] Fri, 26 January 2001 15:15 Go to previous message
Guillaume Dargaud is currently offline  Guillaume Dargaud
Messages: 15
Registered: January 2001
Junior Member
I want to format a string output but can't get it straight. Basically I want
floats to converts to a string with no space, no decimals and no dots.
I've tried many ways, here's the latest:

FOR i = 0, OrbNum-1 DO xtn[i]=STRING( $
fix(OrbArray[i,0]),fix(OrbArray[i,5]),$
fix(OrbArray[i,6]), FORMAT='(I," ",I,"h",I)')

But it comes out with spaces...
--
Guillaume Dargaud
Colorado State University - Dept of Atmospheric Science
http://rome.atmos.colostate.edu/
"A logician trying to explain logic to a programmer is like a cat trying
to explain to a fish what it's like to get wet."
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: IDL Display under RH7
Next Topic: IDL and Unix group permission problem...

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

Current Time: Fri Oct 10 05:44:23 PDT 2025

Total time taken to generate the page: 0.08199 seconds