Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,5 @@
type Foo = ref object
x, y: float
var f: Foo
new f

View file

@ -0,0 +1 @@
echo f[]

View file

@ -0,0 +1,4 @@
echo f[].x
f[].y = 12
echo f.y
f.x = 13.5

View file

@ -0,0 +1,2 @@
var x = 3
var p = addr x

View file

@ -0,0 +1,2 @@
echo p[]
p[] = 42

View file

@ -0,0 +1,2 @@
var y = 12
p = addr y

View file

@ -0,0 +1 @@
p = nil