Record Values
A record is a named list of values. You also can think of a record as a single row in a table, where each field in the row has a column name and a value. Like lists, records can contain either primitive or structured values.
Structure
Records are initiated by square brackets “[ ]”
Examples
[Planet = “Earth”, MilesFromSun = 92960000, AdjacentPlanets = { “Venus”, “Mars” }]
![Figure 3.7: Creation of a record in M, also showing the values within a nested list](https://static.packt-cdn.com/products/9781835089729/graphics/media/file34.png)