home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / ada / 2154 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  881 b 

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