I understand you can use
But... would it be any worse/better if we used...........
.....a function for a loop?
While Wend Repeat Forever Repeat Until For Next
But... would it be any worse/better if we used...........
Graphics 800,600,0,2 SetBuffer BackBuffer() AppTitle "Function loop ;)" omg_loop() Function omg_loop() If KeyHit(1) End Cls For k = 2 To 255 If KeyDown(k) Color 255,255,255 Rect 0,0,GraphicsWidth(),GraphicsHeight() Color 0,0,0 Text GraphicsWidth()/2,GraphicsHeight()/2,":D OM NOm NomNNMOm TEH LEWP!!!11!!",1,1 EndIf Next Flip omg_loop() End Function
.....a function for a loop?