home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Graphics / graphics-16000.iso / msdos / animutil / fastgfx / fg303d / exbas.arj / FGDOC / EXAMPLES / BASIC / 07-13.BAS < prev    next >
Encoding:
BASIC Source File  |  1993-09-30  |  359 b   |  24 lines

  1. REM $INCLUDE: 'fastgraf.bi'
  2.  
  3. DEFINT A-Z
  4.  
  5. OldMode = FGgetmode
  6. FGsetmode 16
  7. FGinitw
  8. FGsetworld 0.0, 6.39, 0.0, 3.49
  9. FGsetsizew 0.21
  10.  
  11. FGsetcolor 7
  12. Half# = FGswlength(" Hello there. ",14) * 0.5
  13. FGrectw 3.2-Half#, 3.2+Half#, 1.6, 1.9
  14.  
  15. FGsetcolor 10
  16. FGmovew 3.2, 1.65
  17. FGswtext "Hello there.", 12, 0
  18. FGwaitkey
  19.  
  20. FGsetmode OldMode
  21. FGreset
  22.  
  23. END
  24.