home *** CD-ROM | disk | FTP | other *** search
- REM $INCLUDE: 'fastgraf.bi'
-
- DEFINT A-Z
-
- NewMode = FGbestmode(320,200,1)
- IF NewMode < 0 OR NewMode = 12 THEN
- PRINT "This program requires a 320 x 200 color graphics mode."
- STOP
- END IF
- OldMode = FGgetmode
- FGsetmode NewMode
-
- FGsetcolor 15
- FGrect 0, 319, 0, 199
- FGsetcolor 10
- FGtext "line one", 8
- FGlocate 1, 0
- FGtext "line two", 8
- FGwaitkey
-
- FGsetcolor 15
- FGscroll 0, 63, 8, 15, 4, 1
- FGwaitkey
- FGscroll 0, 63, 12, 19, -4, 1
- FGwaitkey
-
- FGsetmode OldMode
- FGreset
-
- END