class Test def use pass pro dynamic as bool get return true set pass get namespace as String return '' set stop as int pass get this as Test return this def main is shared Test().run def run .use .dynamic = true assert .dynamic == true assert .namespace == '' assert .this == this .stop = 5 t = Test() t.use t.dynamic = true assert t.dynamic == true assert t.namespace == '' assert t.this == t t.stop = 5