MAGMA
Documentation Try online Download
Cite Contact
Login
/
« Previous Up Root Index Search Next »
RECORDS  
Acknowledgements
 
Introduction
 
The Record Format Constructor
 
Creating a Record
 
Access and Modification Functions







 
Introduction

 
The Record Format Constructor
      recformat< L > : FieldnameList -> RecFormat
      Example Rec_RecordFormat (H16E1)

 
Creating a Record
      rec< F | L > : RecFormat, FieldAssignmentList -> Rec
      Example Rec_Record (H16E2)

 
Access and Modification Functions
      Format(r) : Rec -> RecFormat
      Names(F) : RecFrmt -> [ MonStgElt ]
      Names(r) : Rec -> [ MonStgElt ]
      r`fieldname : Rec, Fieldname -> Elt
      r`fieldname := expression;
      delete r`fieldname : Rec, Fieldname -> Nil
      assigned r`fieldname : Rec, Fieldname -> BoolElt
      r``s : Rec, String -> Elt
      Example Rec_RecordAccess (H16E3)

[Next][Prev] [Right] [____] [Up] [Index] [Root]


Version: V2.29 of Fri Nov 28 15:14:01 AEDT 2025
« Previous Up Root Index Search Next »
Search:

Magma is maintained and distributed by the Computational Algebra Group, School of Mathematics and Statistics, University of Sydney.

About · Group · Seminar · FAQ · Release Notes
© 1993–2026 Computational Algebra Group.