up previous next
Fields

list the fields of a record
Syntax

Fields(P:RECORD):LIST


Description
This function returns a list of all of the fields of the record P.

Example
P := Record[ Name = "David", Number = 3728852, Data = ["X","Y"] ];
Fields(P);
["Data", "Name", "Number"]
-------------------------------
P.Data;
["X", "Y"]
-------------------------------


See Also