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

  1. '   +----------------------------------------------------------------------+
  2. '   |                                                                      |
  3. '   |        PBClone  Copyright (c) 1990-1992  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.