func init // defines attributes if(not isdef("Attributes")) arr = this.props("Attributes").value this.attr = code(arr.join(',')) end // defines comments if(not isdef("Comment")) arr = this.props("Comment").value end // define constructor body sys.blocks_store() event("onDestructor") // initialize destructor ini = block.reg("init").inc().inc() inits.add(ini) this.class = code(this.parent.get_parent_sdk().props("ClassName").value) if(arr.size()) for(i=0; i