home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!wupost!gumby!destroyer!sol.ctr.columbia.edu!ucselx!crash!tech
- From: tech@crash.cts.com (Don Bontemps)
- Subject: I need help with copying "records"
- Organization: CTS Network Services (crash, ctsnet), El Cajon, CA
- Date: 07 Sep 92 16:25:54 PDT
- Message-ID: <1992Sep07.162555.5226@crash>
- Lines: 24
-
- This question is regarding the manipulation of record arrays. Suppose I
- declare the following record array:
-
-
- type
-
- temp = record
- name : string[10];
- date : string[4];
- pass : string[4];
- end;
-
-
- var
-
- data : array[1..100] of temp;
-
-
-
- Now if I wanted to copy data[1] to data [2], could I just say
- data[2] := data[1] or would I have to do it this way
- data[2].name := data[1].name and so on and so forth. Your help
- would be greatly appreciated. Thanks (in advance).
-
-