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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f127842852d2f03a X-Google-Attributes: gid103376,public From: tgi@tgi2.dev.netgem.com (Tristan Gingold) Subject: Re: About conversions Date: 2000/11/22 Message-ID: #1/1 X-Deja-AN: 696650790 References: <8vb0h9$1ou$1@nnrp1.deja.com> <8vbfds$dih$1@nnrp1.deja.com> <8ve71q$meh$1@nnrp1.deja.com> X-Complaints-To: abuse@isdnet.net X-Trace: news2.isdnet.net 974901706 24116 195.154.83.69 (22 Nov 2000 14:01:46 GMT) User-Agent: slrn/0.9.6.3 (Linux) Reply-To: tgi@netgem.com NNTP-Posting-Date: 22 Nov 2000 14:01:46 GMT Newsgroups: comp.lang.ada Date: 2000-11-22T14:01:46+00:00 List-Id: In article <8ve71q$meh$1@nnrp1.deja.com>, Robert Dewar wrote: >In article , > Stephen Leake wrote: >> Robert Dewar writes: >> convert an out parameter would happen about as often as >> needing to convert an in parameter, or a function result. > >Not at all! Because you think of an out parameter as an Lvalue, >and conversions are not allowed as left sides in assignments. >If you really believe the above, you would want backwards >conversions on the left of assigments. > >Note that all other comparable languages allow conversions for >input parameters, NONE of them allows these strange out >conversions. VHDL (at least vhdl93) has an (awful) mechanism to do conversions for input and/or output parameters. Tristan.