r.F=x

Read(298) Label: record field, assign,

Description:

Assign value to a field of a record.

Syntax:

r.F=x

Note:

The function assigns x to field F of record r.

Parameters:

r

A record

F

Field name

x

An expression, the computation of which is the field value of F

Return value:

The computation of x

Example:

 

A

 

1

=demo.query("select EID,NAME, SALARY from EMPLOYEE")

2

>A1(1).SALARY=A1(1).SALARY+100

The value of "SALARY " in A1(1) is changed into 7100.00