vbscript: For for loop coerce right bound string to real.
All threads resolved!
All threads resolved!
Merge request reports
Activity
requested review from @jacek
It seems to me that we should convert step to a number earlier. I tried a simple test:
dim x for x = 1 to 2 step "a" call ok(false, "in for..to, expected an earlier error") next
On Windows it throws type error earlier, before the first step. To implement that, I guess we could have a new opcode converting value to a number and use that instead of OP_val in
compile_forto_statement
.added 1 commit
- 573f6190 - vbscript: For for loop bounds coerce string to real.
added 1 commit
- 46fcb325 - vbscript: For for loop bounds coerce string to real.
- Resolved by Robert Wilhelm
added 1 commit
- 307e311b - vbscript: For for loop bounds coerce string to real.
added 105 commits
-
307e311b...8e338fbb - 104 commits from branch
wine:master
- e0d02783 - vbscript: For for loop bounds coerce string to real.
-
307e311b...8e338fbb - 104 commits from branch
Please register or sign in to reply