func init // defines instance this.instance = this.props("Property").value.instance // defines type this.type = sys.get_manager_prop('Property', 'Type') this.typecode = sys.type_code(this.type) end func doProperty(value) blk.println(this.get_namespace(), '.', this.instance, ' = ', sys.to_type(d("Value"), this.typecode), ';') end func Property return(sub(this.get_namespace() + '.' + this.instance, this.typecode)) end func get_namespace() el = this.parent.get_parent_sdk() if(isdef("Namespace")) tMode = sys.get_manager_prop('Property', 'TypeModifier') if(tMode _and_ 8) namespace = code(el.cName) else namespace = code(el.instance) end else namespace = code(el.cName) + '.' + this.props("Namespace").value.instance end return(namespace) end