Hmmm, yes it does appear to do that, although I've seen it at the top of a module as well, so it looks like it can be used for an entire file too.
However, this code, when compiled in debugmode, will still do a debugstop just not inside the function, should it?
However, this code, when compiled in debugmode, will still do a debugstop just not inside the function, should it?
Graphics 640,480,0,0 While Not KeyDown(KEY_ESCAPE) Cls DrawBox() DrawCircle() Flip Wend End Function DrawBox() nodebug DebugStop DrawRect(0,0,100,100) End Function Function DrawCircle() DrawOval(200,200,100,100) End Function