Changeset 1886


Ignore:
Timestamp:
Oct 24, 2015, 4:00:34 PM (10 years ago)
Author:
John Small
Message:

JBS: Minor update to "longest mackage number" code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/warpin/bld_fm2_wpidirs.cmd

    r1885 r1886  
    99 *
    1010 * TODO:
    11  *    -  Add logic to read script to determine
     11 *    -  Redo code for NOFILESPACKAGE code so that the dirs are created after all the lines
     12 *       of the input file have been read (and the max packagenumber length is set). The
     13 *       current code will not work if a longer package number follows the NOFILESPACKAGE line.
     14 *    -  Document errors internally (Error. ?)
     15 *    -  Display more descriptive error messages to user
     16 *    -  ? Add support for filenames with spaces
     17 *    -  ? Add logic to read script to determine
    1218 *       -  Number of packages
    1319 *       -  Package numbers
    14  *    -  Document errors internally (Error. ?)
    15  *    -  Display more descriptive error messages to user
    1620 *
    1721 */
     
    110114                  f = f + 1
    111115                  WPI.fileline.f = strip(txtline)
    112 /*
    113                   if word3 > WPI.max_package_number then
    114                       WPI.max_package_number = word3
    115 */
     116                  if length(word3) > WPI.max_package_number then
     117                      WPI.max_package_number = length(word3)
    116118               end
    117119         end
Note: See TracChangeset for help on using the changeset viewer.