5 lines
133 B
Text
5 lines
133 B
Text
o1 = new point { x=10 y=20 z=30 }
|
|
addmethod(o1,"print", func { see x + nl + y + nl + z + nl } )
|
|
o1.print()
|
|
Class point
|
|
x y z
|