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-7-bit X-Google-Thread: 103376,dcda92e2d95aeec X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-01 02:51:42 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.huji.ac.il!not-for-mail From: "Ehud Lamm" Newsgroups: comp.lang.ada Subject: Re: Protected Object: little question Date: Sat, 1 Dec 2001 12:43:21 +0200 Organization: The Hebrew University of Jerusalem Message-ID: <9uach8$p5p$1@news.huji.ac.il> References: <3C07DE0D.B5B1C77B@9online.fr> NNTP-Posting-Host: di3-48.dialin.huji.ac.il X-Trace: news.huji.ac.il 1007203689 25785 132.64.13.48 (1 Dec 2001 10:48:09 GMT) X-Complaints-To: abuse@news.huji.ac.il NNTP-Posting-Date: Sat, 1 Dec 2001 10:48:09 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Xref: archiver1.google.com comp.lang.ada:17273 Date: 2001-12-01T12:43:21+02:00 List-Id: You must use a function inside the portected object. It can return a dummy value (a boolean TRUE for example). If you don't want users to deal with this ugly and useless return value, simply provide a procedure (declared otuside the p.o) that uses the function and discards the dummy return value. Ehud