comp.lang.ada
 help / color / mirror / Atom feed
From: MM <mrvmurray@gmail.com>
Subject: Re: End of a file
Date: Tue, 19 Jan 2016 00:44:43 -0800 (PST)
Date: 2016-01-19T00:44:43-08:00	[thread overview]
Message-ID: <3513303f-0a3a-4cef-9d03-96a45da807f5@googlegroups.com> (raw)
In-Reply-To: <2fa0ebeb-967d-4f50-8634-2462904a920e@googlegroups.com>

On Tuesday, 19 January 2016 08:43:09 UTC, comicf...@gmail.com  wrote:
>   count : Positive_Count := 1 ;

Initialise this to zero, not one. Before you have read any lines, the count is zero.

M
-- 


  reply	other threads:[~2016-01-19  8:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-19  5:11 End of a file comicfanzine
2016-01-19  5:52 ` J-P. Rosen
2016-01-19  7:20 ` comicfanzine
2016-01-19  8:02   ` Georg Bauhaus
2016-01-19  8:43 ` comicfanzine
2016-01-19  8:44   ` MM [this message]
2016-01-20  1:16 ` comicfanzine
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox