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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c4e4e40240a86624 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Niklas Holsti Newsgroups: comp.lang.ada Subject: Re: Anyone see a problem in 5.7 ncurses Ada? Date: Thu, 10 Mar 2011 16:43:45 +0200 Organization: Tidorum Ltd Message-ID: <8ts6d1F44vU1@mid.individual.net> References: <431bc7ac-07d3-4ccc-abb6-18091cb5a0db@s18g2000prg.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net A3EtuNqfMomYSA8RirA2KQmFGOm+aM8uj/dHxvkbIRMI7zqU8X Cancel-Lock: sha1:A7rseAIp0ydmkGna9cQswBoReyI= User-Agent: Mozilla-Thunderbird 2.0.0.24 (X11/20100328) In-Reply-To: Xref: g2news1.google.com comp.lang.ada:18048 Date: 2011-03-10T16:43:45+02:00 List-Id: Emile8 wrote: > On 9 mar, 21:53, Jeffrey Carter > wrote: >> On 03/09/2011 01:28 PM, Emile8 wrote: >> >> >> >>> procedure test1 is >>> NL : Line_count; >>> NC : Column_count; >>> begin >>> init_screen; >>> Get_size (number_of_columns => NC, number_of_lines => NL); >>> put(integer(NL)); >>> put_line(""); >> Skip_Line? > Ok for skip_line; >>> put(integer(NC)); If these are operations in Ada.Text_IO, Skip_Line skips *input* lines. If you want to make blank *output* lines, use New_Line. From one who has made that mistake more than once :-) -- Niklas Holsti Tidorum Ltd niklas holsti tidorum fi . @ .