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,2485cb1936a0a4ec,start X-Google-Attributes: gid103376,public From: Gautier Subject: Package with initialization only Date: 1999/07/21 Message-ID: <37961DD6.E56BD3E9@maths.unine.ch>#1/1 X-Deja-AN: 503630532 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii MIME-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-07-21T00:00:00+00:00 List-Id: Hi everybody! A small "aesthetic" problem: I have a package with initialization only; thus I must add a dummy procedure to resolve the with/without body ambiguity Ada95 doesn't accept. There is surely a more elegant formulation, surely with OO, since the initialization procedure affects the public variable of the package. Its present state: ----**** with Engine_3D; package Vehic001 is vehicle_001: Engine_3D.Object_3D( Max_points=> 100, Max_faces=> 86 ); private procedure dummy_proc; end Vehic001; ----**** -- Gautier -------- http://members.xoom.com/gdemont/