From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c4b62bb22cdbc161 X-Google-Attributes: gid103376,public From: jerry@jvdsys.nextjk.stuyts.nl (Jerry van Dijk) Subject: Re: Troubles : New_Page & Get_Immediate Date: 1997/10/18 Message-ID: <877159374.61snx@jvdsys.nextjk.stuyts.nl>#1/1 X-Deja-AN: 281406508 Distribution: world References: <01bcdae4$3f70ffa0$0f02000a@default> Organization: *JerryWare HQ*, Leiden, Holland Newsgroups: comp.lang.ada Date: 1997-10-18T00:00:00+00:00 List-Id: In article <01bcdae4$3f70ffa0$0f02000a@default> bjyxxl@echidna.stu.cowan.edu.au writes: >When trying to use New_Page as in > New_Page; >to simply refresh the screen in output of text to the screen all I'm >getting is a weird symbol As New_Page suggests, this is a printer-like command. The funny character you are seeing is called the 'form-feed' code, instructing the printer to move to the next page. On some consoles, sending a form-feed will actually clear the screen, on others it will simply display the character. On Win95 (if that is what you are using) the latter is the case. A very simple solution is: Num_Rows : constant := 25; -- number of screen rows; procedure Clear_Screen is begin for I in 1 .. Num_Rows loop New_Line; end loop; end Clear_Screen; -- -- Jerry van Dijk | Leiden, Holland -- Consultant | Team Ada -- Ordina Finance | jdijk@acm.org