<%@ Language=VBScript %>
<html>
<head>
<title>Example 3</title>
</head>
<body>
<%
FirstVar = "Hello world!"
%>
The time is: <%=time%> <BR>
<%For i=1 To 10%>
<%=FirstVar%>
<%Next%>
<%If Hour (time) > 18 OR Hour (time) < 4 Then%>
Good Night Everyone.
<%Else%>
Good Morning Everyone.
<%End If%>
</body>
</html>
|
gives:
|
<html>
<head>
<title>Example 3</title>
</head>
<body>
The time is:
01:08:02
<BR>
Hello world!
Hello world!
Hello world!
Hello world!
Hello world!
Hello world!
Hello world!
Hello world!
Hello world!
Hello world!
Good Night Everyone.
</body>
</html>
|