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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,99f33f51845a7793 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-10 05:55:42 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!uninett.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: 'withing' problem Date: Sat, 10 Nov 2001 13:55:40 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <3be27344$0$227$ed9e5944@reading.news.pipex.net> <3BE42900.7590E899@adaworks.com> <3be65f4c$0$237$ed9e5944@reading.news.pipex.net> NNTP-Posting-Host: kiuk0156.chembio.ntnu.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: tyfon.itea.ntnu.no 1005400540 12958 129.241.83.82 (10 Nov 2001 13:55:40 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Sat, 10 Nov 2001 13:55:40 +0000 (UTC) User-Agent: slrn/0.9.7.2 (Linux) Xref: archiver1.google.com comp.lang.ada:16214 Date: 2001-11-10T13:55:40+00:00 List-Id: On Fri, 9 Nov 2001 15:28:48 -0500, Matthew Heaney wrote: > package body Patients is > > procedure Visit_Doctor > (Patient : in out Patient_Type; > Doctor : in out Doctor_Type) is > begin > Treat_Patient (Doctor, P); ^ shouldn't it be Patient here? gnatgcc -c patients.adb patients.adb:9:30: "P" is undefined gnatmake: "patients.adb" compilation error > end; > > procedure Pay_Doctor > (Patient : in out Patient_Type; > Doctor : in out Doctor_Type) is > begin > null; > end; > > end Patients; Preben -- Preben Randhol ------------------- http://www.pvv.org/~randhol/ -- �For me, Ada95 puts back the joy in programming.�