fork download
  1. record point(x, y)
  2.  
  3. procedure main()
  4. pt := point(3, 4)
  5. write("type(pt) = ", type(pt))
  6. write("pt.x = ", pt.x)
  7. write("pt.y = ", pt.y)
  8. end
Success #stdin #stdout 0.01s 5272KB
stdin
Standard input is empty
stdout
type(pt) = point
pt.x = 3
pt.y = 4