首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > ASP >

if isempty(menu(i,j)) then exit for 这句是什么意思?解决方法

2012-09-28 
if isempty(menu(i,j)) then exit for 这句是什么意思?table cellpadding0 cellspacing0 aligncenter

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()看名字应该是一个判断是否为空的处定义函数

热点排行