home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!news.bbn.com!think.com!linus!linus.mitre.org!linus!mbunix!emery
- From: emery@Dr_No.mitre.org (David Emery)
- Newsgroups: comp.lang.ada
- Subject: Re: initialization of vars when declared.
- Message-ID: <EMERY.92Jul21093521@Dr_No.mitre.org>
- Date: 21 Jul 92 14:35:21 GMT
- References: <1992Jul21.053439.29957@iitmax.iit.edu>
- Sender: news@linus.mitre.org (News Service)
- Organization: The Mitre Corp., Bedford, MA.
- Lines: 8
- In-Reply-To: janiadi@elof.iit.edu's message of Tue, 21 Jul 92 05:34:39 GMT
- Nntp-Posting-Host: dr_no.mitre.org
-
- a_variable : array (1..3) of integer := (1,2,3);
- dave
- (p.s. many people consider this declaration, which is an anonymous
- array type, to be bad style. One problem is that the following
- declarations are of two different types:
- X : array (1..3) of integer;
- Y : array (1..3) of integer;
- and therefore you can't say "X := Y;")
-