home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 13 / CD_ASCQ_13_0494.iso / maj / 419 / vertprin.bas < prev    next >
BASIC Source File  |  1994-03-13  |  837b  |  26 lines

  1. '   +----------------------------------------------------------------------+
  2. '   |                                                                      |
  3. '   |        PBClone  Copyright (c) 1990-1994  Thomas G. Hanlin III        |
  4. '   |                                                                      |
  5. '   +----------------------------------------------------------------------+
  6.  
  7.    DECLARE SUB CursorInfo (Visible%, StartLine%, EndLine%, MaxLine%)
  8.  
  9. SUB VerticalPrint (St$)
  10.    Row% = CSRLIN
  11.    Col% = POS(0)
  12.    CursorInfo Visible%, StartLine%, EndLine%, MaxLine%
  13.    IF Visible% THEN LOCATE Row%, Col%, 0
  14.  
  15.    FOR tmp% = 1 TO LEN(St$)
  16.       LOCATE Row% + tmp% - 1, Col%
  17.       PRINT MID$(St$, tmp%, 1);
  18.    NEXT
  19.  
  20.    IF Visible% THEN
  21.       LOCATE Row%, Col%, 1
  22.    ELSE
  23.       LOCATE Row%, Col%
  24.    END IF
  25. END SUB
  26.