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

Home » Public Forums » archive » PRINTF format statement
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
PRINTF format statement [message #83684] Thu, 28 March 2013 17:58
Rohit Deshpande is currently offline  Rohit Deshpande
Messages: 6
Registered: June 2011
Junior Member
Hello All,

I am writing a script to create HTML files with IDL. In the script I have a PRINTF statement which looks like the following:

PRINTF, iunit, '<dt>g Mag:</dt><dd>'+this_gmag+'</dd>'

Here this_gmag is a variable that I want to add between the strings. The output comes as:

g Mag:
12.399

In other words, it goes to the next line. I want it to appear on the same line. How do I do this in IDL? Please note that this_gmag is of type string.

Thanks
[Message index]
 
Read Message
Previous Topic: Regression fit and random noise
Next Topic: Re: PRINTF format statement

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

Current Time: Wed Oct 08 13:31:18 PDT 2025

Total time taken to generate the page: 0.23928 seconds