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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Simon Clubley Newsgroups: comp.lang.ada Subject: Re: Help with an errant 'IF' statement please. Date: Sun, 30 Nov 2014 13:46:41 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <0a70a8a3-45fc-440b-999b-f9cfbc6ac7f9@googlegroups.com> <8ecc1fb7-615c-4b7e-83e3-866a830a59a5@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Date: Sun, 30 Nov 2014 13:46:41 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="5d17cbd8021c261a32a9ee7515b8580c"; logging-data="20752"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19eQDrU+0SBqoR9tEu1V58XTAsu8vMKCOI=" User-Agent: slrn/0.9.9p1 (Linux) Cancel-Lock: sha1:NwW7tVktp/ywcvNpgj39qVcE+ZY= Xref: news.eternal-september.org comp.lang.ada:23799 Date: 2014-11-30T13:46:41+00:00 List-Id: On 2014-11-30, Austin Obyrne wrote: > On Sunday, November 30, 2014 11:18:33 AM UTC, Simon Clubley wrote: >> >> 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. >> > > 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. > Hello Austin, I said a standalone, compilable, test version. 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. 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. :-) 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. Only at this point do we have enough information to try and help you. For example, in the code you have posted, there are no variable definitions, there are functions (such as Time_Ex_1) which are used and not defined and you have not stated what the specific problem is with this version of the code. 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. The process you need to go through here is the exact same process we all go through when trying to isolate some specific problem. To everyone else: Austin doesn't seem to understand what I am asking him to do. Could my comments be improved in some way ? Thanks, Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Microsoft: Bringing you 1980s technology to a 21st century world