Use new to create an object from a struct

This commit is contained in:
2026-01-27 14:10:57 +11:00
parent e3abe07f4b
commit e285b2c59f
3 changed files with 97 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
struct dingus {
x = 5
y = "dingus"
}
e = new dingus
puts e
puts dingus