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
Wrap
Text File
|
1990-03-06
|
3KB
|
65 lines
;
FOR.COM
Size (recs) CRC Version Author/Latest Issue Disk
4k (30) 92EC 1.2 Bruce Morgen 3/89 Z3COM3
1- Syntax 2- Notes 3- Help File 4- FOR-NEXT.HLP
FOR.COM, NEXT.COM, and PERFORM.COM provide the ability to perform a single
command or set of commands repeatedly, for a specified list of arguments.
See FOR-NEXT.HLP for details on usage.
:1
Syntax - 1/2 FOR <[du:|dir:]fn.ft> [<[du:|dir:]fn.ft>] [/X]
where the 'X' option indicates that all ambiguous filenames are to be
expanded. If an ambiguous filename is prefaced with a DU: or DIR:
specification, its expansions will all also contain the directory
specification. If the "/X" flag is omitted, the arguments may be any
set of strings containing no blanks; i.e., the arguments need not be
filenames.
or FOR 'one string' "another string" \a third string\ /S
where the 'S' option is REQUIRED to indicate that the list elements are
delimited strings. Any non-blank character except the virgule (/) and
comma may be used as a delimiter.
Syntax - 2/2
or FOR /o
where 'o' can be D, R, or N, with the following meanings:
D -- list all named directories
Rn -- list all integers up to that contained in register 'n',
one per line. The list is zero-based
Nn -- list all integers up to 'n', one per line (zero-based).
V -- list all currently defined shell variable names
:2
FOR Notes
a. Vs 1.2 updates:
- removed unreferenced externals, labels, etc.
- made code compatible with non-ZAS assemblers
- removed/corrected anomalous code
- established DSEG to simplify buffer allocation
- general tune up and tightening of code, linking to a new standalone
VARLOAD.REL and the new Z3LIB/SYSLIB, resulting in a 30-record COM-
file vs. 51 records for vs 1.1.
b. Vs 1.1 updates:
- added shell variable name expansion.
:3
FOR-NEXT.HLP
Size (recs) CRC Version Author/Latest Issue Disk
15k (114) 2FB3 1.1 Dreas Nielsen 2/89 Z3HLP3
==============================================================================
ZCPR3 HELP file for FOR.COM, NEXT.COM, and PERFORM.COM trio.
:4 :FOR-NEXT