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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.236.8.71 with SMTP id 47mr49721630yhq.3.1417313795443; Sat, 29 Nov 2014 18:16:35 -0800 (PST) X-Received: by 10.140.17.82 with SMTP id 76mr621893qgc.5.1417313795424; Sat, 29 Nov 2014 18:16:35 -0800 (PST) Path: border2.nntp.dca1.giganews.com!nntp.giganews.com!s7no3029896qap.1!news-out.google.com!m4ni588qag.1!nntp.google.com!s7no3029895qap.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 29 Nov 2014 18:16:35 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=86.176.91.16; posting-account=pmkN8QoAAAAtIhXRUfydb0SCISnwaeyg NNTP-Posting-Host: 86.176.91.16 References: <0a70a8a3-45fc-440b-999b-f9cfbc6ac7f9@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <8ecc1fb7-615c-4b7e-83e3-866a830a59a5@googlegroups.com> Subject: Re: Help with an errant 'IF' statement please. From: Austin Obyrne Injection-Date: Sun, 30 Nov 2014 02:16:35 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: number.nntp.giganews.com comp.lang.ada:191093 Date: 2014-11-29T18:16:35-08:00 List-Id: 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 > 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.