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

Home » Public Forums » archive » Re: Format in PRINTF
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: Format in PRINTF [message #45649 is a reply to message #45648] Tue, 27 September 2005 05:59 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
coco writes:

> I have a stringarray containing numbers and letters and want to print
> this string to a file. each line should consist of 130 arrayelements,
> each element should take two places.
>
> Using this format command: format='(130(A2))' just writes the letters,
> but not the numbers.
>
> Anybody an idea???

Sorry, but I'm not buying:

IDL> a=['rt','56','gu','32','h5','i9']
IDL> print, a, format='(6(A2))'
rt56gu32h5i9

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: USERSYM filled AND outlined?
Next Topic: How to disable "auto debug mode" in idlwave?

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

Current Time: Wed Oct 08 16:04:13 PDT 2025

Total time taken to generate the page: 0.00423 seconds