comp.lang.ada
 help / color / mirror / Atom feed
* Ada 83:  Type defaults
@ 1996-09-11  0:00 hehmeyerj
  1996-09-11  0:00 ` John G. Volan
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: hehmeyerj @ 1996-09-11  0:00 UTC (permalink / raw)



This may be a simple problem but...

I have an enumeration type declaration.  For example:

type x is (A, B, C, D);

And I have about three hundred variables of type x scattered throughout 
50 packages.  How would you default the type to, say A, without going
to each individual variable declaration and explicitly defaulting them. 
(ie y : x := A;)

TIA






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

end of thread, other threads:[~1996-09-12  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-09-11  0:00 Ada 83: Type defaults hehmeyerj
1996-09-11  0:00 ` John G. Volan
1996-09-11  0:00 ` Thomas Kendelbacher
1996-09-12  0:00 ` Ken Garlington

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