Restored from previous forum. Originally posted by freak.
> I want to jump out from For..Next, Repeat..Until and While..Wend using an ExitIf command. Using Goto's is no good style.
I miss that one, too. (and a lot of other Users, too) Maybe it'll come someday.
> A logical NOT is missing.
Same here.
> While..Wend is slower than For..Next and Repeat..Until. Why?
I don't know, but While/Wend needs 1 more ASM instruction per Loop that Repeat/Until.
But For/Next needs 2 more, so this should be the slowest one.
I dont really know much about this, so it can also be a different reason. But they are all fast, aren't they
> a=a+1 should be faster than a=b+1 because it has one memory access less. Does this matter for the clock cycles of the Intel?
Mmmm, yes, it should be faster, but it produces exactly the same ASM output:
Code: Select all
; a=a+1
MOV ebx,dword [v_a]
INC ebx
MOV dword [v_a],ebx
; a=b+1
MOV ebx,dword [v_b]
INC ebx
MOV dword [v_a],ebx
@Fred: Couldn't this be more optimized? If I write(with InlineASM enabled):
INC a, 1
The Output is also
INC a, 1
Which is the same as a=a+1, or a+1, but is only 1 ASM instruction, not 3.
> The Debugger is not checking for array bounds. This would be useful to avoid illegal memory access errors.
Would be a nice new feature.
> An automatic formatting of the source would be nice.
Go here, for a tool by Berikco:
viewtopic.php?t=2320
(the Version near the end of the Topic is the newest one.)
You beat me by 33 Seconds, damn, I type to slow...
That's all...
Timo