Sage
Tusk Language
Welcome to Sage
Volume (93%) Hide Volume
Topics
Array / Set Literal
flowchart LR
  Start[Start]
  Stop[Stop]
  Open([<tt>#91;</tt>])
  Expr([<a href="Expression">Expression</a>])
  Close([<tt>#93;</tt>])
  Comma([<tt>,</tt>])
  DotDot([<tt>..</tt>])
  High([<a href="Expression">Expression</a>])

  Start --> Open
  Open --> Expr
  Open --> Close
  Expr --> Close
  Expr -->|&nbsp;#40;1#41;&nbsp;| DotDot
  DotDot --> High
  High --> Comma
  Expr --> Comma
  High --> Close
  Comma -->|&nbsp;#40;2#41;&nbsp;| Close
  Comma --> Expr
  Close --> Stop

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

Note (1)

Ranges are only allowed for sets, not arrays.


Note (2)

Trailing commas are not allowed in Delphi Mode.


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