comp.lang.ada
 help / color / mirror / Atom feed
From: heiser@acs3.bu.edu (Bill Heiser)
Subject: passing an array
Date: 3 Dec 1994 22:52:56 GMT
Date: 1994-12-03T22:52:56+00:00	[thread overview]
Message-ID: <3bqss8$2v2@news.bu.edu> (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   



             reply	other threads:[~1994-12-03 22:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-12-03 22:52 Bill Heiser [this message]
1994-12-04 15:33 ` passing an array David Weller
replies disabled

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