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 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c2f62556e56c9683,start X-Google-Attributes: gid103376,public From: rh@signal.dera.gov.uk (Roger Hoyle) Subject: 'with'ing and 'use'ing Date: 2000/02/29 Message-ID: #1/1 X-Deja-AN: 591389100 Organization: DERA Newsgroups: comp.lang.ada Date: 2000-02-29T00:00:00+00:00 List-Id: Hi, I'm just trying to clear something up in my head. I'm trying to interface with a lot [a *lot* :] of Ada95 code and the rest of the code has a policy of not 'use'ing other packages, just 'with'ing them to force the full names of types & functions etc. As a result, I'm adopting the same attitude. 1) Is this basically a good idea? It seems sensible to me, but then I know little about Ada. (I'm asking about generally not 'use'ing stuff, not specifically my current situation) 2) One of the packages defines a sub-package called Ops, which contains the operators (=,/=,>=,<=) etc for some of the types in the main package. The only way I seem to be able to get access to these operators is to 'use' the package. Is this right, or am I missing somehting? Any help gratefully received. Thanks rog.