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 10:18:14 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!usenet-fr.net!mephistopheles.news.clara.net!news.clara.net!zen.net.uk!btnet-peer1!btnet-feed3!btnet-peer0!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: "Martin Dowie" Newsgroups: comp.lang.ada Subject: Re: What evil would happen? Date: Sat, 12 Jul 2003 17:17:59 +0000 (UTC) Organization: BT Openworld Message-ID: References: <5ad0dd8a.0307111151.4a08f95a@posting.google.com> <1057954025.510093@master.nyc.kbcfp.com> <5ad0dd8a.0307120430.56d11616@posting.google.com> NNTP-Posting-Host: host217-40-210-192.in-addr.btopenworld.com X-Trace: titan.btinternet.com 1058030279 25797 217.40.210.192 (12 Jul 2003 17:17:59 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Sat, 12 Jul 2003 17:17:59 +0000 (UTC) X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MSMail-Priority: Normal X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Xref: archiver1.google.com comp.lang.ada:40235 Date: 2003-07-12T17:17:59+00:00 List-Id: "Wojtek Narczynski" wrote in message news:5ad0dd8a.0307120430.56d11616@posting.google.com... > Hyman Rosen wrote in message news:<1057954025.510093@master.nyc.kbcfp.com>... > > >(...) - can you make a generic function > > with generic parameters which correspond to the out > > parameters that you would like to pass into the > > function, and have the function write to those? If > > so, is that an acceptable workaround? > > I have tried it and the compiler told me "left hand side of assignment > must be a variable". Have you looked at the 'Rosen Trick' for converting a constant view into a variable one? See http://home.earthlink.net/~matthewjheaney/charles/charles-vectors-limited_bounded.html and search for 'rosen'.