func make_var return('this.' && code(this._var)) end func init this.setfield('_var', this.props("Name").value) if(len(this._var)) if(not uses.contain(this._var)) uses.add(this._var) this.type = typeof(this.props("Data").value) if(this.type == 3) this.type = 7 end blk_vars.println('private ', sys.type_prop3(this.type), ' ', code(this._var), ';') if(not isdef("Data")) blk_init.println(this.make_var(), ' = ', this.props("Data").value, ';') end end end end func doValue(data) blk.println(this.make_var(), ' = ', sys.to_type(data, this.type), ';') event("onValue", sub(this.make_var(), this.type)) end func Var return(sub(this.make_var(), this.type)) end