From: stt@ada-uts.UUCP
Subject: Re: Ada '88 musings
Date: Fri, 3-Jan-86 14:23:00 EST [thread overview]
Date: Fri Jan 3 14:23:00 1986
Message-ID: <4700014@ada-uts.UUCP> (raw)
In-Reply-To: 4700013@ada-uts.UUCP
Initialization may be specified for limited types which are
record types, by supplying default expressions for the components.
By nesting any type within a record (possibly discriminated), it
is possible to specify a relatively arbitrary initialization.
For example:
type lim(x : integer) is limited private;
...
type lim(x : integer) is
record
contents : exciting_type(x) := complicated_function(x);
end record;
next prev parent reply other threads:[~1986-01-03 19:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1985-12-31 21:40 Ada '88 musings stt
1986-01-03 19:23 ` stt [this message]
1986-01-09 20:33 ` Scott Pilet
1986-01-20 17:47 ` Orphaned Response stt
-- strict thread matches above, loose matches on Subject: below --
1986-01-02 20:44 Ada '88 musings Christopher Reedy
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox