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,FILL_THIS_FORM, FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1b701b930a26d55e,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-04 11:59:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!ctb-nntp1.saix.net!not-for-mail From: Ralph Moeritz <*ladylazarus@webmail.co.za> Newsgroups: comp.lang.ada Subject: have 2 problems, please help. Date: 4 Dec 2001 19:59:02 GMT Organization: The South African Internet Exchange Message-ID: NNTP-Posting-Host: pss53-01-p49.kn.saix.net X-Trace: ctb-nnrp1.saix.net 1007495942 19353 155.239.236.49 (4 Dec 2001 19:59:02 GMT) X-Complaints-To: abuse@saix.net NNTP-Posting-Date: 4 Dec 2001 19:59:02 GMT User-Agent: Xnews/4.06.22 Xref: archiver1.google.com comp.lang.ada:17399 Date: 2001-12-04T19:59:02+00:00 List-Id: Hi all! I've currently got 2 small problems, please help me! 1. I need GNU make for Linux (on it's own, I don't want to download it as part of gcc package) in order to install GNAT (I think it's dumb that GNAT comes with gcc and g++ but not make!), please can someone give me a www address where I can find it? 2. I've just completed my solution to AdaTutor outside assignment 2 and because I cannot compile and link my program due to problem 1. , I was hoping someone who has done the AdaTutor course could tell me whether my answer is correct or not. Source below. Thanks! Ralph -- My solution to outside assignment 2 separate (Tritest) function Tritype(Len1, Len2, Len3 : in Integer) return Triangle is Answer : Triangle; begin case Len1 > 0 is when 'True' => if Len1 = Len2 and Len1 = Len3 then Answer := Equilateral; elsif Len1 = Len2 and Len3 > 0 then Answer := Isosceles; elsif Len1 = Len3 and Len3 > 0 then Answer := Isosceles; elsif Len2 = Len3 and Len2 > 0 then Answer := Isosceles; elsif Len2 > 0 and Len3 > 0 then Answer := Scalene; else Answer := Not_A_Triangle; end if; when 'False' => Answer := Not_A_Triangle; end case; return Answer; end Tritype; -- The War of the Ring -> http://wotr.sourceforge.net