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,15ce2ff6360d2b58 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-09-15 11:38:29 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Newbie question:procedural variables(call by reference)? Date: 15 Sep 2003 14:20:31 -0400 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: <3F65EBF4.7CF3@mail.ru> NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1063650185 16508 128.183.235.92 (15 Sep 2003 18:23:05 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 15 Sep 2003 18:23:05 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Xref: archiver1.google.com comp.lang.ada:42539 Date: 2003-09-15T18:23:05+00:00 List-Id: Dmytry Lavrov writes: > There are no procedural variables(calls by reference) in ADA,right?(or i > missed something...). You can pass a pointer to a subprogram as a parameter to an Ada subprogram. Generally, the subprogram must be a library-level subprogram, but sometimes you can use a local subprogram. > How to live without 'em? (i guess , 'like in java' ;-) Generics usually provide a better way to get the same result. "Better" here means more type-safe, more easily understood. -- -- Stephe