<html>
<body>
<%
dim a, b
a = 2
b = 1
if a = 1 and b = 1 then
response.Write("今天有促销信息")
else
response.Write("今天没有促销信息")
end if
%>
</body>
</html>
<html>
<body>
<%
dim a, b
a = 2
b = 1
if not a = 1 and b = 1 then
response.Write("今天有促销信息")
else
response.Write("今天没有促销信息")
end if
%>
</body>
</html>
<html>
<body>
<%
dim a, b
a = 50
b = 80
if a > 100 then
response.Write("今天有促销信息")
elseif b > 70 then
response.Write("今天有促销信息")
else
response.Write("今天没有促销信息")
end if
%>
</body>
</html>
欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) | Powered by Discuz! X3.2 |