Next: , Previous: , Up: The Record Library   [Index]


13.5.12 Data Type Specific Arithmetic Record Functions

rn_a_<type-name>

<type> rn_a_<type-name>(record r, text s, <type> d);

is the sum of the data in the s position in the r record (assumed of the <type> data type) or 0 if r does not map s and d. Data in the s position is set to the calculated sum.

rn_s_<type-name>

<type> rn_s_<type-name>(record r, text s, <type> d);

is the difference of the data in the s position in the r record (assumed of the <type> data type) or 0 if r does not map s and d. Data in the s position is set to the calculated difference.