include("import") func doJoin(_data) fvar(v,i) need_os() for(i = 1; i <= _data_count_; i++) replace(s, '%' + i, '{'+(i-1)+'}') v = v + lcode(point('Path' + i)) if (i <> _data_count_) v = v + ', ' end end event (onJoin, 'os.path.join('&&code(v)&&')') end