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

Home » Public Forums » archive » Re: using print statement to print to memory or a variable?
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: using print statement to print to memory or a variable? [message #81110 is a reply to message #81108] Thu, 16 August 2012 14:03 Go to previous messageGo to previous message
astroboy.20000 is currently offline  astroboy.20000
Messages: 39
Registered: August 2012
Member
>
> STRING and PRINT/PRINTF take arguments and format strings in the same
>
> manner, so it's not hard to change between them, i.e.,
>
>
>
> printf, lun, a, b, c, format=format_string
>
>
>
> or
>
>
>
> s = string(a, b, c, format=format_string)
>
>
>
> Mike
>
> --
>
> Michael Galloy
>
> www.michaelgalloy.com
>
> Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
>
> Research Mathematician
>
> Tech-X Corporation

Thanks Mike,

I suspect that's what I'll have to wind up doing. The code kicks out about 100 printf outputs, all different depending on the inputs, and sometimes I'll need things to just print to a file or screen, but sometimes it would be nice to have a character string kicked out for a title, say...
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: tlb_frame_attr in Mac
Next Topic: Re: tlb_frame_attr in Mac

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

Current Time: Sun Oct 12 19:45:11 PDT 2025

Total time taken to generate the page: 0.24204 seconds