Implemented structs

This commit is contained in:
Eduard Urbach 2025-02-04 18:16:31 +01:00
parent 50fc8c6249
commit e36d9fade3
Signed by: eduard
GPG key ID: 49226B848C78F6C8
32 changed files with 267 additions and 63 deletions

11
examples/point/point.q Normal file
View file

@ -0,0 +1,11 @@
struct Point {
x Int
y Int
}
main() {
p := new(Point)
p.x = 4
p.y = 2
delete(p)
}