comp.lang.ada
 help / color / mirror / Atom feed
From: hehmeyerj <hehmeyerj@dma.gov>
Subject: Ada 83:  Type defaults
Date: 1996/09/11
Date: 1996-09-11T00:00:00+00:00	[thread overview]
Message-ID: <516mkh$d3m@ryker.dma.gov> (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






             reply	other threads:[~1996-09-11  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-11  0:00 hehmeyerj [this message]
1996-09-11  0:00 ` Ada 83: Type defaults John G. Volan
1996-09-11  0:00 ` Thomas Kendelbacher
1996-09-12  0:00 ` Ken Garlington
replies disabled

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