home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / zsys / znode-12 / s / z3help10.lbr / FOR.HZP / FOR.HLP
Encoding:
Text File  |  1993-06-12  |  2.0 KB  |  56 lines

  1. ;
  2.                                  FOR.COM                                      
  3.  
  4.              Size (recs) CRC   Version    Author/Latest Issue      Disk
  5.                7k (51)   8B32  1.1        Dreas Nielsen 2/89       Z3COM3
  6.  
  7.   1- Syntax  2- Help File  3- 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.  
  17.  
  18.    Syntax:  FOR <[du:|dir:]fn.ft> [<[du:|dir:]fn.ft>] [/X]
  19.  
  20. where the 'X' option indicates that all ambiguous filenames are to be 
  21.      expanded.  If an ambiguous filename is prefaced with a DU: or DIR: 
  22.      specification, its expansions will all also contain the directory
  23.      specification.  If the "/X" flag is omitted, the arguments may be any
  24.      set of strings containing no blanks; i.e., the arguments need not be
  25.      filenames. 
  26.  
  27.        or   FOR 'one string' "another string" \a third string\ /S
  28.  
  29. where the 'S' option is REQUIRED to indicate that the list elements are
  30.      delimited strings.  Any non-blank character except the virgule (/) and
  31.      comma may be used as a delimiter. 
  32.  
  33.  
  34.  
  35.    Syntax (continued):
  36.  
  37.        or   FOR /o
  38.  
  39. where 'o' can be D, R, or N, with the following meanings:
  40.  
  41.      D  --  list all named directories
  42.      Rn --  list all integers up to that contained in register 'n',
  43.                one per line.  The list is zero-based
  44.      Nn --  list all integers up to 'n', one per line (zero-based).
  45.      V  --  list all currently defined shell variable names
  46. :2
  47.  
  48.  
  49.                               FOR-NEXT.HLP
  50.  
  51.              Size (recs) CRC   Version    Author/Latest Issue      Disk
  52.               15k (114)  2FB3  1.1        Dreas Nielsen 2/89       Z3HLP3
  53. ==============================================================================
  54.  
  55.    ZCPR3 HELP file for FOR.COM, NEXT.COM, and PERFORM.COM trio.
  56. :3 :FOR-NEXT