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,f3437064e1091fec X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-12 06:11:10 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!worldnet.att.net!4.24.21.153!chcgil2-snh1.gtei.net!news.bbnplanet.com!chcgil2-snf1.gtei.net!news.gtei.net!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: What evil would happen? Date: 12 Jul 2003 08:11:07 -0500 Organization: LJK Software Message-ID: References: <5ad0dd8a.0307111151.4a08f95a@posting.google.com> <1LEPa.9034$nP.7178@newsfep4-winn.server.ntli.net> <5ad0dd8a.0307120426.226775f1@posting.google.com> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1058015367 8421 192.135.80.34 (12 Jul 2003 13:09:27 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Sat, 12 Jul 2003 13:09:27 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:40231 Date: 2003-07-12T08:11:07-05:00 List-Id: In article , Preben Randhol writes: > Wojtek Narczynski wrote: >> I don't follow. >> >> What would be unsafe about: >> >> procedure Parse_Username( S: in String; Result: out Boolean) return String; > > What would be the point of it? Being able to return an unconstrained value along with one or more constrained values from the same subprogram: declare my_result : Boolean; my_username : constant := Parse_Username ( s => "SYSTEM", result => my_result ); begin -- make use of that end;