Changeset 4651 for trunk/tools


Ignore:
Timestamp:
Nov 21, 2000, 5:34:25 AM (25 years ago)
Author:
bird
Message:

Corrected bug. "." was not supported.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/bin/DoDirs.cmd

    r4614 r4651  
    1 /* $Id: DoDirs.cmd,v 1.1 2000-11-19 08:22:06 bird Exp $
     1/* $Id: DoDirs.cmd,v 1.2 2000-11-21 04:34:25 bird Exp $
    22 *
    33 * Rexx script which executes a given command in each of the given
     
    2626iRc = 0;                                /* Returncode */
    2727iStart = 1;                             /* Subdirectory Index */
    28 do while (iStart < length(sDirs))
     28do while (iStart <= length(sDirs))
    2929    iEnd = pos(' ', sDirs, iStart);
    30     if (iEnd <= 0 & iStart < length(sDirs)) then
     30    if (iEnd <= 0 & iStart <= length(sDirs)) then
    3131        iEnd = length(sDirs) + 1;
    3232
Note: See TracChangeset for help on using the changeset viewer.