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

  1. '   +----------------------------------------------------------------------+
  2. '   |                                                                      |
  3. '   |        PBClone  Copyright (c) 1990-1993  Thomas G. Hanlin III        |
  4. '   |                                                                      |
  5. '   +----------------------------------------------------------------------+
  6.  
  7.    DECLARE SUB OrSt (St1$, St2$)
  8.    DECLARE SUB ShlSt (St$, BYVAL ShiftCount%)
  9.    DECLARE SUB ShrSt (St$, BYVAL ShiftCount%)
  10.  
  11. SUB RolSt (St$, ShiftCount%)
  12.    IF LEN(St$) > 0 AND ShiftCount% > 0 THEN
  13.       St1$ = St$
  14.       ShiftCount1% = LEN(St$) * 8& - CLNG(ShiftCount%)
  15.       ShlSt St$, ShiftCount%
  16.       ShrSt St1$, ShiftCount1%
  17.       OrSt St$, St1$
  18.    END IF
  19. END SUB
  20.