version 0.7.0
This commit is contained in:
parent
972c510861
commit
8b2a9401a1
185 changed files with 21451 additions and 24296 deletions
|
|
@ -5,16 +5,15 @@ type
|
|||
s: string,
|
||||
x, y: int,
|
||||
z: float,
|
||||
chars: set[char],
|
||||
]
|
||||
chars: set[char]]
|
||||
|
||||
const
|
||||
things: array [0.., TComplexRecord] = [
|
||||
(chars: {'a', 'b', 'c'}, s: "hi", x: 69, y: 45, z: 0.0),
|
||||
(chars: {'a', 'b', 'c'}, s: "hi", x: 69, z: 0.3, y: 45)]
|
||||
things: array [0..1, TComplexRecord] = [
|
||||
(s: "hi", x: 69, y: 45, z: 0.0, chars: {'a', 'b', 'c'}),
|
||||
(s: "hi", x: 69, y: 45, z: 1.0, chars: {})]
|
||||
otherThings = [ # the same
|
||||
(chars: {'a', 'b', 'c'}, s: "hi", x: 69, y: 45, z: 0.0),
|
||||
(z: 0.0, chars: {'a', 'b', 'c'}, s: "hi", x: 69, y: 45)]
|
||||
(s: "hi", x: 69, y: 45, z: 0.0, chars: {'a', 'b', 'c'}),
|
||||
(s: "hi", x: 69, y: 45, z: 1.0, chars: {'a'})]
|
||||
|
||||
write(stdout, things[0].x)
|
||||
#OUT 69
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue