home *** CD-ROM | disk | FTP | other *** search
/ C++ Games Programming / CPPGAMES.ISO / fgl / fglight / exbas.arj / TEMP / 03-07.BAS < prev    next >
BASIC Source File  |  1995-01-20  |  379b  |  25 lines

  1. REM $INCLUDE: 'fastgraf.bi'
  2.  
  3. DEFINT A-Z
  4.  
  5. OldMode = FGgetmode
  6. NewMode = FGbestmode(320,200,1)
  7.  
  8. IF NewMode < 0 THEN
  9.    PRINT "This program requires a 320 by 200 graphics mode."
  10.    STOP
  11. END IF
  12.  
  13. FGsetmode NewMode
  14.  
  15. FGsetcolor 15
  16. FGtext "I'm running in mode", 19
  17. FGtext STR$(NewMode), LEN(STR$(NewMode))
  18. FGtext ".", 1
  19. FGwaitkey
  20.  
  21. FGsetmode OldMode
  22. FGreset
  23.  
  24. END
  25.