comp.lang.ada
 help / color / mirror / Atom feed
* Package with initialization only
@ 1999-07-21  0:00 Gautier
  1999-07-21  0:00 ` Gautier de Montmollin
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Gautier @ 1999-07-21  0:00 UTC (permalink / raw)


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/




^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~1999-07-22  0:00 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-21  0:00 Package with initialization only Gautier
1999-07-21  0:00 ` Gautier de Montmollin
1999-07-21  0:00 ` Robert A Duff
1999-07-21  0:00 ` Martin C. Carlisle
1999-07-21  0:00 ` Ted Dennison
1999-07-21  0:00   ` Samuel T. Harris
1999-07-21  0:00     ` David C. Hoos, Sr.
1999-07-22  0:00     ` David Kristola
1999-07-22  0:00       ` Marin David Condic
1999-07-22  0:00         ` laoxhai
1999-07-22  0:00       ` Ted Dennison
1999-07-22  0:00       ` Samuel T. Harris
1999-07-22  0:00 ` Robert I. Eachus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox