Files
highground-fork/tests/struct.sols

19 lines
159 B
Plaintext

use io
struct dingus {
x = 5
y = "dingus"
}
e = new dingus
puts e
puts dingus
puts e.x
println(e.y)
e.x = 7
e.y = "heheheha"
puts e.x
println(e.y)