#hwsfunc doPoint() if (ToError) trace('tr') else error('er') end event(onPoint, _data_)endfunc varPoint() return()end