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.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3dbf2f325f33ce35 X-Google-Attributes: gid103376,public From: Ted Dennison Subject: Re: Elimination of "use" clauses Date: 1999/07/01 Message-ID: <7lg0sg$g8q$1@nnrp1.deja.com>#1/1 X-Deja-AN: 496027834 References: <377B5807.88B875E0@cs.york.ac.uk> <7lfvbk$fhh$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x24.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Thu Jul 01 15:18:54 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.6 [en] (WinNT; I) Date: 1999-07-01T00:00:00+00:00 List-Id: In article <7lfvbk$fhh$1@nnrp1.deja.com>, czgrr wrote: > In article <377B5807.88B875E0@cs.york.ac.uk>, > Neil.Audsley@cs.york.ac.uk wrote: > > Ideally, we would like to eliminate "use" clauses, necessitating the > > replacement of each procedure call X by PackageName.X instead. > > Is there a tool that does this? > > P.S. Watch out for operators. Having added all the "package_name."s, it > sometimes makes for better readability if you re-introduce the "use" > (globally or in specific routines) solely for the purpose of accessing > operators. Remember to comment it as such. Good point. But as a fellow "use-phobe", I think Neil would probably prefer to put in "use type" statements to get access to the comparison and mathematical operators that he will loose when the "use" clauses are removed. But YMMV. -- T.E.D. Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.