Skip to content

Commit 591eba6

Browse files
henilsharkdp
authored andcommitted
add new syntax test files
1 parent a5a9ac8 commit 591eba6

File tree

18 files changed

+646
-0
lines changed

18 files changed

+646
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<html>
2+
<body>
3+
<!-- #include file ="headers\header.inc" -->
4+
5+
<%
6+
For i = 0 To 5
7+
Response.Write("The number is " & i & "<br />")
8+
Next
9+
%>
10+
11+
<%
12+
Response.Write("Hello World!")
13+
%>
14+
15+
<%
16+
Dim x(2,2)
17+
x(0,0)="Volvo"
18+
x(0,1)="BMW"
19+
x(0,2)="Ford"
20+
x(1,0)="Apple"
21+
x(1,1)="Orange"
22+
x(1,2)="Banana"
23+
x(2,0)="Coke"
24+
x(2,1)="Pepsi"
25+
x(2,2)="Sprite"
26+
for i=0 to 2
27+
response.write("<p>")
28+
for j=0 to 2
29+
response.write(x(i,j) & "<br />")
30+
next
31+
response.write("</p>")
32+
next
33+
%>
34+
35+
</body>
36+
</html>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
-- This is a comment
2+
3+
property defaultClientName : "Mary Smith"
4+
5+
on greetClient(nameOfClient)
6+
 display dialog ("Hello " & nameOfClient & "!")
7+
end greetClient
8+
9+
10+
script testGreet
11+
 greetClient(defaultClientName)
12+
end script
13+
14+
run testGreet
15+
greetClient("Joe Jones")
16+
17+
set myList to {1, "what", 3}
18+
set beginning of myList to 0
19+
set end of myList to "four"
20+
21+
myList
22+
23+
tell application "TextEdit"
24+
 paragraph 1 of document 1
25+
end tell

0 commit comments

Comments
 (0)