Sage
Tusk Language
Welcome to Sage
Volume (90%) Hide Volume
Topics
Record Definition
flowchart LR
  Start[Start]
  Stop[Stop]
  Start --> Packed([<tt>packed</tt>]) --> Record
  Start --> Record([<tt>record</tt>])
    Record --> End([<tt>end</tt>])
    Record --> Field([<a href="Identifier">Identifier</a>])
    Field --> Comma([<tt>,</tt>])
    Comma -->|&nbsp;#40;1#41;&nbsp;| Colon
    Comma --> Field
    Field --> Colon([<tt>:</tt>])
    Colon --> Type([<a href="DataType">Data Type</a>])
    Type --> End
    Type --> Semi([<tt>;</tt>])
    Semi --> Field
    Semi --> End
    End --> Stop

  style Start fill:#44E
  style Stop fill:#E44

Note (1)

Trailing commas are not allowed in Delphi Mode.


Note

Tusk records do not support Delphi's variant record parts (similar to union in C/C++).


Last Modified: 2/15 10:06:11 am
2/15 10:06:11 am