home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / QBAS / PBC22B.ZIP / PBC$BAS.ZIP / TYPEPRIN.BAS < prev    next >
BASIC Source File  |  1993-01-01  |  947b  |  20 lines

  1. '   +----------------------------------------------------------------------+
  2. '   |                                                                      |
  3. '   |        PBClone  Copyright (c) 1990-1993  Thomas G. Hanlin III        |
  4. '   |                                                                      |
  5. '   +----------------------------------------------------------------------+
  6.  
  7.    DECLARE SUB DelayV (BYVAL MilliSeconds%)
  8.    DECLARE SUB GetVidMode (BIOSMode%, ScreenWidth%, ActivePage%)
  9.    DECLARE SUB XQPrint (St$, BYVAL Row%, BYVAL Column%, BYVAL VAttr%, BYVAL Page%, BYVAL Fast%)
  10.  
  11. SUB TypePrint (St$, Row%, Col%, WaitTime%, TmpAttr%, VAttr%, Fast%)
  12.    GetVidMode BIOSMode%, ScrWidth%, Page%
  13.    FOR tmp% = 1 TO LEN(St$)
  14.       ch$ = MID$(st$, tmp%, 1)
  15.       XQPrint ch$, Row%, tmp% + Col% - 1, TmpAttr%, Page%, Fast%
  16.       DelayV WaitTime%
  17.       XQPrint ch$, Row%, tmp% + Col% - 1, VAttr%, Page%, Fast%
  18.    NEXT
  19. END SUB
  20.