日期:2014-05-17  浏览次数:20766 次

if isempty(menu(i,j)) then exit for 这句是什么意思?
<table cellpadding=0 cellspacing=0 align=center width=135>
<%
for j=1 to ubound(menu,2)
if isempty(menu(i,j)) then exit for
%>
<tr><td height=20><%=menu(i,j)%></td></tr>
<%
next
%>
</table>


现在需要把ASP转成JSP的 这部分没看懂 then exit for等于break;吗?


------解决方案--------------------
如果isempty()函数返回值为true则退出循环
isempty()看名字应该是一个判断是否为空的处定义函数