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

  1. '   +----------------------------------------------------------------------+
  2. '   |                                                                      |
  3. '   |        PBClone  Copyright (c) 1990-1993  Thomas G. Hanlin III        |
  4. '   |                                                                      |
  5. '   +----------------------------------------------------------------------+
  6.  
  7. SUB ReverseI (Array() AS INTEGER, Elements%)
  8.    FOR tmp% = 1 TO Elements% \ 2
  9.       SWAP Array(tmp%), Array(Elements% - (tmp% - 1))
  10.    NEXT
  11. END SUB
  12.