From: Austin Obyrne <austin.obyrne@hotmail.com>
Subject: Re: Help with an errant 'IF' statement please.
Date: Sat, 29 Nov 2014 18:16:35 -0800 (PST)
Date: 2014-11-29T18:16:35-08:00 [thread overview]
Message-ID: <8ecc1fb7-615c-4b7e-83e3-866a830a59a5@googlegroups.com> (raw)
In-Reply-To: <ebtj7a5qjf4pr0le7sir7kegrj1tqik79q@4ax.com>
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...
>
> --
> Wulfraed Dennis Lee Bieber AF6VN
> wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
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.
This program is giving so much trouble that I don't think it is worth continuing
any further with it as an *interactive email tool - alternatively, an email message that is prepared in an editor is just as convenient and is far more robust for reading in and encrypting just as I would with say any batch file.
*I have made an experimental change to an algorithm that worked very well before the change but all this has inexplicably come along with the change.
I have never felt comfortable with this interactive process even when it worked
well and will stop using it altogether now - it isn't cost effective to persevere with it any further especially when it is suspect. An encrypted message travels as an attachment to an unsecured covering email(for the present)
- there is no advantage in encrypting it in interactive mode compared with preparing it in an editor like say 'Notepad' - all my instincts say I am doing something wrong.
Sorry for taking so long in coming back and thanks for your help - Austin.
next prev parent reply other threads:[~2014-11-30 2:16 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 [this message]
2014-11-30 11:18 ` Simon Clubley
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