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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fa18fb47ddd229a7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-10 21:07:49 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!elnk-pas-nf1!elnk-nf2-pas!newsfeed.earthlink.net!attbi_feed4!attbi.com!attbi_s53.POSTED!not-for-mail From: "Steve" Newsgroups: comp.lang.ada References: Subject: Re: Proposed change to BC iterator parameters X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: NNTP-Posting-Host: 12.211.58.135 X-Complaints-To: abuse@comcast.net X-Trace: attbi_s53 1071119269 12.211.58.135 (Thu, 11 Dec 2003 05:07:49 GMT) NNTP-Posting-Date: Thu, 11 Dec 2003 05:07:49 GMT Organization: Comcast Online Date: Thu, 11 Dec 2003 05:07:49 GMT Xref: archiver1.google.com comp.lang.ada:3350 Date: 2003-12-11T05:07:49+00:00 List-Id: "Robert A Duff" wrote in message news:wccekvc2rol.fsf@shell01.TheWorld.com... [snip] > > I don't understand the point of Param_Type and Param above. If you want > to pass extra information to Apply, nest the instantiation in a place > where it can see that data. The reason for Param_Type and Param is to avoid using data outside of the scope of the Apply routine except for the arguments to the Apply machine. It comes from that old school of thought: Avoid global data All inputs and outputs of a procedure should appear in their parameter lists Following these simple guidelines usually makes code a lot easier to follow. Steve (The Duck) > > - Bob