Btw, when I try to end the program in debug mode using the escape key, these 2 pieces of code work differently:
Dialect "modern" Repeat Until KeyHit(1) /* comment */ End
Dialect "modern" Repeat Until KeyHit(1) ;/* comment */ End
No, I mean this case breaks the End command:
Dialect "modern" Repeat Until KeyHit(1) /* comment */ End
And another example:
Dialect "modern" Repeat Until KeyHit(1) /* comment */ Local i=0 For i=0 To 10 DebugLog(i) Next WaitKey()
In this case we will not get the results from the DebugLog function in the debugger. But when we remove the comment, the Debug Log function will show the results
Dialect "modern" Repeat Until KeyHit(1) Local i=0 For i=0 To 10 DebugLog(i) Next WaitKey()