Update data in a member method
class MyClass { internal var varName; private var varInt = 1000; public function MyClass (name) { this.varName = name; } function update ( ) { this.varInt += 100; } }