Description:
Generate a record according to the specified field name and field value.
Syntax:
new(xi:Fi,…)
Note:
The function generates a record made up of one field whose name is Fi and value is xi.
Parameter:
xi |
Field value |
Fi |
Field name |
Option:
@t |
Enable returning result as a table sequence |
Return value:
A record or table sequence
Example:
|
A |
|
1 |
=new(1:ID,"ZHS":name) |
Generate a record:
|
2 |
=new@t(1:ID,"ZHS":name) |
Use @t option to generate a table sequence made up of one record:
|