home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / ZSYS / ZSYSARK / SUSDSK01.ARK / Z3HELP20.LBR / FOR.HZP / FOR.HLP
Text File  |  1990-03-06  |  3KB  |  65 lines

  1. ;
  2.                                  FOR.COM                                      
  3.  
  4.              Size (recs) CRC   Version    Author/Latest Issue      Disk
  5.                4k (30)   92EC  1.2        Bruce Morgen 3/89        Z3COM3
  6.  
  7.   1- Syntax  2- Notes  3- Help File  4- FOR-NEXT.HLP                          
  8.  
  9.  
  10.  
  11.    FOR.COM,  NEXT.COM, and PERFORM.COM provide the ability to perform a single 
  12. command or set of commands repeatedly, for a specified list of arguments.  
  13.  
  14.    See FOR-NEXT.HLP for details on usage.
  15. :1
  16.  Syntax - 1/2   FOR <[du:|dir:]fn.ft> [<[du:|dir:]fn.ft>] [/X]
  17.  
  18. where the 'X' option indicates that all ambiguous filenames are to be 
  19.      expanded.  If an ambiguous filename is prefaced with a DU: or DIR: 
  20.      specification, its expansions will all also contain the directory
  21.      specification.  If the "/X" flag is omitted, the arguments may be any
  22.      set of strings containing no blanks; i.e., the arguments need not be
  23.      filenames. 
  24.  
  25.        or   FOR 'one string' "another string" \a third string\ /S
  26.  
  27. where the 'S' option is REQUIRED to indicate that the list elements are
  28.      delimited strings.  Any non-blank character except the virgule (/) and
  29.      comma may be used as a delimiter. 
  30.  Syntax - 2/2 
  31.  
  32.        or   FOR /o
  33.  
  34. where 'o' can be D, R, or N, with the following meanings:
  35.  
  36.      D  --  list all named directories
  37.      Rn --  list all integers up to that contained in register 'n',
  38.                one per line.  The list is zero-based
  39.      Nn --  list all integers up to 'n', one per line (zero-based).
  40.      V  --  list all currently defined shell variable names
  41. :2
  42.  FOR Notes 
  43.  
  44.    a. Vs 1.2 updates:
  45.       - removed unreferenced externals, labels, etc.
  46.       - made code compatible with non-ZAS assemblers
  47.       - removed/corrected anomalous code
  48.       - established DSEG to simplify buffer allocation
  49.       - general tune up and tightening  of code,  linking to  a new standalone
  50.         VARLOAD.REL and the new Z3LIB/SYSLIB,  resulting in  a  30-record COM-
  51.         file vs. 51 records for vs 1.1. 
  52.  
  53.    b. Vs 1.1 updates:
  54.       - added shell variable name expansion.
  55. :3
  56.  
  57.  
  58.                               FOR-NEXT.HLP 
  59.  
  60.              Size (recs) CRC   Version    Author/Latest Issue      Disk
  61.               15k (114)  2FB3  1.1        Dreas Nielsen 2/89       Z3HLP3
  62. ==============================================================================
  63.  
  64.    ZCPR3 HELP file for FOR.COM, NEXT.COM, and PERFORM.COM trio.
  65. :4 :FOR-NEXT