From: Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP>
Subject: Re: Help with an errant 'IF' statement please.
Date: Sun, 30 Nov 2014 11:18:16 +0000 (UTC)
Date: 2014-11-30T11:18:16+00:00 [thread overview]
Message-ID: <m5eudj$mn7$1@dont-email.me> (raw)
In-Reply-To: 8ecc1fb7-615c-4b7e-83e3-866a830a59a5@googlegroups.com
On 2014-11-30, Austin Obyrne <austin.obyrne@hotmail.com> wrote:
> On Saturday, November 29, 2014 4:53:48 PM UTC, Dennis Lee Bieber wrote:
>> On Sat, 29 Nov 2014 07:05:09 -0800 (PST), Austin Obyrne
>> <austin.obyrne@hotmail.com> declaimed the following:
>>
>>
>> >LOOP
>> > EXIT WHEN NextChar = Sentinel;
>> >
>> What is the definition of "NextChar", since I don't see it changing
>> inside this loop...
>>
>
> This is the relevant source code at the very start of the program in
> question,
>
> Total := Total+1;
> Ada.Text_IO.Get(Item => NextChar);
> Image(Total):= NextChar;
>
> 'NextChar' is the variable name given to each character being read
> in from the keyboard.
>
[snip]
> Sorry for taking so long in coming back and thanks for your help - Austin.
Do what I told you to do and write a stripped down standalone test program
around the fragment you posted.
You will then see what Dennis (and myself) are telling you.
I could tell you what the problem is, but I think it's more important for
you to understand how to find this yourself.
Simon.
--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Microsoft: Bringing you 1980s technology to a 21st century world
next prev parent reply other threads:[~2014-11-30 11:18 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-29 13:28 Help with an errant 'IF' statement please Austin Obyrne
2014-11-29 14:03 ` gautier_niouzes
2014-11-29 15:05 ` Austin Obyrne
2014-11-29 15:45 ` Simon Clubley
2014-11-29 16:10 ` Austin Obyrne
2014-11-29 16:54 ` Dennis Lee Bieber
2014-11-30 2:16 ` Austin Obyrne
2014-11-30 11:18 ` Simon Clubley [this message]
2014-11-30 12:58 ` Austin Obyrne
2014-11-30 13:01 ` Austin Obyrne
2014-12-01 22:20 ` Stephen Leake
2014-12-02 2:57 ` Austin Obyrne
2014-11-30 13:46 ` Simon Clubley
2014-11-30 14:49 ` Austin Obyrne
2014-11-30 15:43 ` Simon Clubley
2014-11-30 19:23 ` Shark8
2014-11-30 11:56 ` Denis McMahon
2014-11-30 12:19 ` Austin Obyrne
2014-11-29 14:08 ` Simon Clubley
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox