r.record()

Read(855) Label: sequence, modify, record,

 

 

 

 
Description

Modify field values of a record with members of a sequence.

Syntax

r.record(A)

Note

The function uses members of sequence A to modify the fields of record r. If the number of A’s members is more than that of r’s fields, discard the surplus members; if the former is less than the latter, keep the original values of the remaining fields.

Parameter

r

A record

A

A sequence

Return value:

A record

Example

 

A

 

1

=demo.query("select * from SCORES")

The original table sequence in A1.

2

=A1(1)

 

3

[Class four,1,English,100]

 

4

=A2.record(A3)

A1’s table sequence after the first record is modified.