comp.lang.ada
 help / color / mirror / Atom feed
* passing an array
@ 1994-12-03 22:52 Bill Heiser
  1994-12-04 15:33 ` David Weller
  0 siblings, 1 reply; 2+ messages in thread
From: Bill Heiser @ 1994-12-03 22:52 UTC (permalink / raw)


Given a setup like the following in one procedure:

  type employee is
    record
      id: integer;
      name: string(1..5);
      dept: string(1..5);
      salary: float;
    end record;

  emprec: employee;
  emp_a: array(1..50) of employee;


How can I pass the emp_a array to another function so that in the
called procedure I can change emp_a records by referencing them
as emp_a(n).id and so forth?

Thanks in advance.
Bill
-- 
Bill Heiser    heiser@acs.bu.edu, heiser@world.std.com
               Boston University, Boston MA   



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1994-12-04 15:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1994-12-03 22:52 passing an array Bill Heiser
1994-12-04 15:33 ` David Weller

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