Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Thank you Mark, my dreams come true.

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

"These tokens must appear at the start of the lines they appear on to be recognized"

The */ has to be at the start of the line.

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.