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

Home » Public Forums » archive » Re: Converting INT to STRING out of space...
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: Converting INT to STRING out of space... [message #43164 is a reply to message #43163] Mon, 21 March 2005 08:03 Go to previous messageGo to previous message
Ben Panter is currently offline  Ben Panter
Messages: 102
Registered: July 2003
Senior Member
Ben Panter wrote:
> Nuno Oliveira wrote:
>
>> Apparently there is no way that I can eliminate a space in a
>> string made of an integer variable. Try:
>>
>> number = 3
>> aux = STRCOMPRESS(STRING(number))
>> file = 'saving'+aux+'.dat'

> without /remove_all, strcompress compresses all whitespace to a single
> whitespace, it doesn't get rid of it.

hmmm.

Alternativly if I were to engage my brain before posting, you could just
put a /remove_all in your strcompress call, which would do the business.


Ben


--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Ben Panter, Garching, Germany
email via www.benpanter.co.uk
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: C Alignment/IDL structures
Next Topic: IRIG Time Stamp to Julday

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

Current Time: Wed Oct 08 19:27:07 PDT 2025

Total time taken to generate the page: 0.00470 seconds