home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- Path: sparky!uunet!cs.utexas.edu!usc!sol.ctr.columbia.edu!destroyer!ubc-cs!unixg.ubc.ca!kakwa.ucs.ualberta.ca!access.usask.ca!skyfox.usask.ca!friesenda
- From: friesenda@skyfox.usask.ca
- Subject: RE: I need help with copying ""records""
- Message-ID: <9SEP92.01244365@skyfox.usask.ca>
- Sender: news@access.usask.ca (USENET News System)
- Nntp-Posting-Host: skyfox
- Organization: University of Saskatchewan
- References: <1992Sep07.162555.5226@crash>
- Date: Wed, 9 Sep 1992 01:24:43 GMT
- Lines: 20
-
- In a previous article, tech@crash.cts.com (Don Bontemps) wrote:
-
- >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).
-
-
- data[2] := data[1];
-
- should work fine; both elements are of the same type. Its the
- same as assigning one integer to another - just a different variable
- type.
-
-
-
- -----------------------------------------------------------------------------
- Darryl Friesen | "The vet let me keep them... they're my testicles"
- Univ. of Saskatchewan | - Far Side cartoon: dog talking to his buddy.
- friesenda@sask.usask.ca |
-