在循环中断掉不连续的。
摘要:
a=#(1,2,3,4,5,6,8)cc =#()v=a.count-1for i in 1 to v do ( s = a[i] ss = a[i+1] if ss-s ==1 then( append cc s print i )else ( append cc s exit ) )cc 阅读全文
posted @ 2013-07-08 18:22 盖天00 阅读(222) 评论(0) 推荐(0) 编辑
posted @ 2013-07-08 18:22 盖天00 阅读(222) 评论(0) 推荐(0) 编辑