summaryrefslogtreecommitdiffstats
path: root/tests/syntax-tests/highlighted/ASP/test.asp
blob: db61089595656017bfdbc9d17e2019045ea1dd07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<html>
<body>
<!-- #include file ="headers\header.inc" -->

<%
For i = 0 To 5
Response.Write("The number is " & i & "<br />")
Next
%>

<%
Response.Write("Hello World!")
%>

<%
Dim x(2,2)
x(0,0)="Volvo"
x(0,1)="BMW"
x(0,2)="Ford"
x(1,0)="Apple"
x(1,1)="Orange"
x(1,2)="Banana"
x(2,0)="Coke"
x(2,1)="Pepsi"
x(2,2)="Sprite"
for i=0 to 2
response.write("<p>")
for j=0 to 2
response.write(x(i,j) & "<br />")
next
response.write("</p>")
next
%>

</body>
</html>