up previous next

Fields

Syntax

Fields(P:RECORD):LIST
    

Summary

list the fields of a record

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