You could try using GOSUB's. E.G:
Sync On : Sync Rate 0
BackDrop On
While SpaceKey()=0
Text 0, 0, Str$( Screen FPS() )
Gosub FirstGosub : Rem Goes To The Label "FirstGosub" Which Is Outside The Loop
Sync
EndWhile
End
FirstGosub:
Text 0, 15, Str$( Screen Width() )
Return
You could also try using functions. E.G:
Sync On : Sync Rate 0
BackDrop On
While SpaceKey()=0
Text 0, 0, Str$( Screen FPS() )
FirstFunction() : Rem Runs The Function "FirstFunction" Which Is Outside The Loop
Sync
EndWhile
End
Function FirstFunction()
Text 0, 15, Str$( Screen Width() )
EndFunction
Hope that helps. Goodluck.
Asri Crew
Anak Brunei!