退出整个循环用 exit forfor n=1 to 20.....if X thenexit forend if..... next如果想结束本次循环可以用gotofor n=1 to 20 .....GoTo e..........e:next