Declares a value record (fields and methods, not tracked like a Type)
Keywords
Parameters & Returns
Parameters
This function takes no parameters.
Returns
Void
Quick Summary
Declares a value record (fields and methods, not tracked like a Type)
Technical Exegesis...
Declares an Element - a plain value record made of Fields (and optional Methods). Used as 'Element Name ... EndElement'. Unlike a Type, an Element is a value: it is copied when stored or passed, it is NOT tracked in an internal instance list, and it needs no Create or Remove. Declare an instance with 'Local e:Name' (no Create); access fields with e\\field. Elements are the natural element type for a Sequence, which owns them outright. A Method named Compare(other:Name):Int enables SeqSort.
Declares an Element - a plain value record made of Fields (and optional Methods). Used as 'Element Name ... EndElement'. Unlike a Type, an Element is a value: it is copied when stored or passed, it is NOT tracked in an internal instance list, and it needs no Create or Remove. Declare an instance with 'Local e:Name' (no Create); access fields with e\\field. Elements are the natural element type for a Sequence, which owns them outright. A Method named Compare(other:Name):Int enables SeqSort. Use a Type for managed entities you iterate with EachIn; use an Element for plain data records you keep in your own lists.