procedure field: return name of field R[i] procedure fieldnum: return index of field R.s procedure movecorr: move corresponding record fields
link records
November 4, 2002; Ralph E. Griswold and Gregg M. Townsend
Contributor: Paul Abrahams
This file is in the public domain.
field(R, i) returns the name of the ith field of R. fieldnum(R, s) returns the index of the field named s in record R. movecorr(R1, R2) copies values from the fields of record R1 into fields of the same names (if any) in record R2, and returns R2.