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.105.137 with SMTP id k9mr4615321yhg.14.1417358960554; Sun, 30 Nov 2014 06:49:20 -0800 (PST) X-Received: by 10.140.41.147 with SMTP id z19mr936729qgz.1.1417358960523; Sun, 30 Nov 2014 06:49:20 -0800 (PST) Path: border1.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!w8no3622793qac.0!news-out.google.com!m4ni576qag.1!nntp.google.com!w8no3622788qac.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 30 Nov 2014 06:49:20 -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> <8ecc1fb7-615c-4b7e-83e3-866a830a59a5@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <347cef2a-6b5e-4f38-b2ec-bb055c5060e4@googlegroups.com> Subject: Re: Help with an errant 'IF' statement please. From: Austin Obyrne Injection-Date: Sun, 30 Nov 2014 14:49:20 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: number.nntp.giganews.com comp.lang.ada:191106 Date: 2014-11-30T06:49:20-08:00 List-Id: On Sunday, November 30, 2014 1:46:58 PM UTC, Simon Clubley wrote: > On 2014-11-30, Austin Obyrne wrote: > > On Sunday, November 30, 2014 11:18:33 AM UTC, Simon Clubley wrote: > >>=20 > >> Do what I told you to do and write a stripped down standalone test pro= gram > >> around the fragment you posted. > >>=20 > >> You will then see what Dennis (and myself) are telling you. > >>=20 > >> I could tell you what the problem is, but I think it's more important = for > >> you to understand how to find this yourself. > >>=20 > > > > Hi Simon - herewith the program sourcecode of the procedure in > > question - I would like to know for future - my main preoccupation is > > with problem solving but the elegance and efficacy of Ada are > > important to me also - bear with me -this a an experimental program by > > me and is not a fine example of programming in Ada. I would appreciate > > your help - I am going flat out with research work in cryptoland - Ada > > is a tool to me at the moment until I get more time to 'smell the > > flowers' of the language proper. > > >=20 > Hello Austin, >=20 > I said a standalone, compilable, test version. >=20 > The idea is that you post a small standalone example of your code which > can be directly copied from the posting into a file and then compiled > on a person's system. >=20 > You also need to reduce the code to the minimum necessary to demonstrate > the problem. BTW, it is during this reduction process that the reason for > the problem has a habit of becoming clear. :-) >=20 > Along with posting the code, you also state the _specific_ problem you > are having with this code (doesn't exit a loop, doesn't add up correctly, > etc) along with the output you are seeing. >=20 > Only at this point do we have enough information to try and help you. >=20 > For example, in the code you have posted, there are no variable definitio= ns, > there are functions (such as Time_Ex_1) which are used and not defined an= d > you have not stated what the specific problem is with this version of the > code. >=20 > BTW, I'm not being difficult here, I'm trying to get you to help yourself > by explaining what is needed before you can be given some suggestions. >=20 > The process you need to go through here is the exact same process we all > go through when trying to isolate some specific problem. >=20 > To everyone else: Austin doesn't seem to understand what I am asking him > to do. Could my comments be improved in some way ? >=20 > Thanks, >=20 > Simon. >=20 > --=20 > Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP > Microsoft: Bringing you 1980s technology to a 21st century world Thanks a million again. This is the only program in several hundred where this method of stalling t= he program does not work and it is only when I used this type of loop i.e. = being terminated by a 'sentinel' character that it happens. It is not a pr= oblem in the current cipher now but I have taken on board your advice for f= uture - I do understand what I must do sometime soon in the future and I ma= y have to come back to you again - you are saying I should create some inno= cuous program and try stalling it by the same means and the reason why it w= on't work should surface - I hadn't thought of that. I will be doing that = asap. Thanks for your much appreciated help - am I right in my intentions?. I have scrapped the program in hand but I need to know for future in other = programs. - I think I've got you right ! - Austin