CloseScreen
CloseScreen
 
Parameters: NONE
Returns: NONE
 

      CloseScreen will close the current screen mode for you.



FACTS:


      * Before closing a screen, it's a good idea to delete any previously created graphics data. (see DeleteAllImages,DeleteAllSprites,DeleteAllMaps )




Mini Tutorial:


      This example opens a screen, the pauses, before closing the screen, pausing again and openning a new screen mode.


  
; open a screen
  OpenScreen 400,400,16,1
  
; wait for 1 second  (1000 milliseconds)
  Wait 1000
  
; close this screen
  CloseScreen
  
; wait for 1 second  (1000 milliseconds)
  Wait 1000
  
; Open a new screen
  OpenScreen 200,200,16,1
  
  
  Print "press any key to end demo"
  
; Display the screen and wait for a key press
  Sync
  WaitKey
  



 
Related Info: GetScreenHeight | GetScreenType | GetScreenWidth | OpenScreen :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com