comp.lang.ada
 help / color / mirror / Atom feed
From: mfb@mbunix.mitre.org (Michael F Brenner)
Subject: Re: an array of records within an array of records
Date: 1998/04/15
Date: 1998-04-15T00:00:00+00:00	[thread overview]
Message-ID: <6h307q$5qj@top.mitre.org> (raw)
In-Reply-To: 3533A214.D5F94451@mcmail.com


Yes, record initialization is a little long-winded, and is even
more so when you make it more readable by adding in the field names:
  
  x := (CD=> 190, title => to_20 ("White Album"), author => to_20("Beatles"));

Although it is long-winded, giving the field names can be very helpful
if you come back to the data years later and wonder what is being
filled in. 

It also helps when you are trying to pick out which of hundreds of data
files is the input file for the juke box, as opposed to the financial
program, the business process model, or the satellite location program.






  reply	other threads:[~1998-04-15  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-14  0:00 an array of records within an array of records R Mullen
1998-04-15  0:00 ` Michael F Brenner [this message]
1998-04-15  0:00   ` Matthew Heaney
1998-04-16  0:00     ` Tom Moran
1998-04-16  0:00       ` Matthew Heaney
replies disabled

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