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

Home » Public Forums » archive » Re: add a line and column into an array
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: add a line and column into an array [message #64025 is a reply to message #64021] Tue, 02 December 2008 09:09 Go to previous messageGo to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
> Thank you all. I took the advice on data output part form Cris, and
> Format from Jean, that worked.
> Is there anyway to leave and empty row after several number of lines,
> and input a semi colon or colon after each values?
>
> thanks

read the help page "Using Explicitly Formatted Input/Output"
(accessible from the print help page)

print, data, format = '(2(9(f,";")/))'


(f,";") ==> put a semicolon after each value
9(f,";") ==> write 9 values
(9(f,";")/) ==> write 9 values and finish with a new line
2(9(f,";")/) ==> write 2 times 9 values, then new line.

To skip 2 lines, put // etc

Jean
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL app development with "Collections Framework"
Next Topic: help with "interpolate"

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

Current Time: Sun Oct 12 01:04:39 PDT 2025

Total time taken to generate the page: 1.92218 seconds