Class MyObject

static int count 'statics are private

int a,b,c
bstring s

method constructor(int pa,pb,pc)
  s="constructed"
  a=pa : b=pb : c=pc
  count++
end method

method destructor()
  del s
end method

method sum() as int
  return a+b+c
end method

end class

new MyObject v(2,4,6)

print "Sum: " v.sum

del v