mirror of
https://github.com/sharkdp/bat.git
synced 2025-08-17 11:32:54 +02:00
add new syntax test files
This commit is contained in:
36
tests/syntax-tests/source/ASP/test.asp
Normal file
36
tests/syntax-tests/source/ASP/test.asp
Normal file
@ -0,0 +1,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>
|
Reference in New Issue
Block a user