TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Forum View

Use Monospaced Font
Show HTML Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Greg Bek <[log in to unmask]>
Reply To:
Date:
Wed, 26 May 1999 09:29:02 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (39 lines)
Neil,
Most Text_Io implementations do this.

Why?

Because Control-L  ASCII 12 is the Form Feed character.
Most printers interpret this correctly and move to the
top of the next page.

For CRT screens there usually isn't the notion of a page,
so using the New_Page procedure doesn't make a lot of
sense.

As Jacob pointed out, if you need this kind of functionality
for a screen then use a different package.

Greg

> -----Original Message-----
> From: Team Ada: Ada Advocacy Issues (83 & 95)
> [mailto:[log in to unmask]]On Behalf Of neil duffin
> Sent: Tuesday, May 25, 1999 5:05 PM
> To: [log in to unmask]
> Subject: Ada Question
>
>
> Can anyone tell me why using procedure Text_IO.New_Page puts a symbol
> on the screen instead of starting a new page. Is there an easy way to
> start a new page when outputting to screen.
>
> Any help would be appreciated. Thanks
>
> Neil Duffin
>
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>

ATOM RSS1 RSS2