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

  1. REM $INCLUDE: 'fastgraf.bi'
  2.  
  3. DEFINT A-Z
  4.  
  5. OldMode = FGgetmode
  6. NewMode = FGbestmode(80,25,1)
  7.  
  8. IF NewMode < 0 THEN
  9.    PRINT "This program requires ";
  10.    PRINT "an 80-column display."
  11.    STOP
  12. END IF
  13.  
  14. FGsetmode NewMode
  15. FGcursor 0
  16.  
  17. FGsetcolor 15
  18. FGtext "Hello, world.", 13
  19. FGwaitkey
  20.  
  21. FGsetmode OldMode
  22. FGreset
  23.  
  24. END
  25.