Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

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()
(1 edit)

Oh, yes, you're right, sorry

Thanks

My bad, you should get an error if /* and */ are mismatched.