Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
cbb735e2
Commit
cbb735e2
authored
Sep 22, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 22, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vbscript: Added for..in statement tests.
parent
a765b1ec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
1 deletion
+55
-1
lang.vbs
dlls/vbscript/tests/lang.vbs
+55
-1
No files found.
dlls/vbscript/tests/lang.vbs
View file @
cbb735e2
...
...
@@ -18,7 +18,7 @@
Option
Explicit
dim
x
,
y
dim
x
,
y
,
z
call
ok
(
true
,
"true is not true?"
)
ok
true
,
"true is not true?"
...
...
@@ -333,6 +333,60 @@ do
ok
false
,
"exit do didn't work"
loop
while
true
y
=
"for1:"
for
x
=
5
to
8
y
=
y
&
" "
&
x
next
Call
ok
(
y
=
"for1: 5 6 7 8"
,
"y = "
&
y
)
y
=
"for2:"
for
x
=
5
to
8
step
2
y
=
y
&
" "
&
x
next
Call
ok
(
y
=
"for2: 5 7"
,
"y = "
&
y
)
y
=
"for3:"
x
=
2
for
x
=
x
+
3
to
8
y
=
y
&
" "
&
x
next
Call
ok
(
y
=
"for3: 5 6 7 8"
,
"y = "
&
y
)
y
=
"for4:"
for
x
=
5
to
4
y
=
y
&
" "
&
x
next
Call
ok
(
y
=
"for4:"
,
"y = "
&
y
)
y
=
"for5:"
for
x
=
5
to
3
step
true
y
=
y
&
" "
&
x
next
Call
ok
(
y
=
"for5: 5 4 3"
,
"y = "
&
y
)
y
=
"for6:"
z
=
4
for
x
=
5
to
z
step
3
-
4
y
=
y
&
" "
&
x
z
=
0
next
Call
ok
(
y
=
"for6: 5 4"
,
"y = "
&
y
)
y
=
"for7:"
z
=
1
for
x
=
5
to
8
step
z
y
=
y
&
" "
&
x
z
=
2
next
Call
ok
(
y
=
"for7: 5 6 7 8"
,
"y = "
&
y
)
y
=
"for8:"
for
x
=
5
to
8
y
=
y
&
" "
&
x
x
=
x
+
1
next
Call
ok
(
y
=
"for8: 5 7"
,
"y = "
&
y
)
if
false
then
Sub
testsub
x
=
true
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment