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

Home » Public Forums » archive » Re: Format Code Question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Format Code Question [message #35690] Tue, 01 July 2003 09:29
James Kuyper is currently offline  James Kuyper
Messages: 425
Registered: March 2000
Senior Member
MC wrote:
>
> Will any one know the code to cause PRINTF to advance to a new page for
> output to file?
>
> Can't find it in the documentation.
>
> Thanks in advance,
> MC

I couldn't find anything in the normal format codes, but the optional
C-style formats include support for the '\f' escape sequence, which
sends out a form feed character. What you have to do, therefore, is
something like this:

PRINTF, file, FORMAT='(%"\f")'

The '%' is what tell PRINTF that you're using a C-style format string.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: color problems in the Z-buffer
Next Topic: More problems with Curvefit

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

Current Time: Wed Oct 08 14:56:23 PDT 2025

Total time taken to generate the page: 0.00574 seconds