Subversion Repositories SvarDOS

Rev

Rev 1051 | Rev 1056 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1051 Rev 1055
Line 85... Line 85...
85
 
85
 
86
# FOR
86
# FOR
87
18.0:Runs a specified command for each file in a set of files.
87
18.0:Runs a specified command for each file in a set of files.
88
18.1:FOR %variable IN (set) DO command [parameters]
88
18.1:FOR %variable IN (set) DO command [parameters]
89
18.2:%variable   A replaceable parameter name. (single letter)
89
18.2:%variable   A replaceable parameter name. (single letter)
90
18.3:(set)       A set of one of more space-separated files. Wildcards allowed.
90
18.3:(set)       One of more space-separated patterns or messages.
91
18.4:command     The command to carry out for each matched file.
91
18.4:command     The command to carry out for each matched file.
92
18.5:parameters  Parameters or switches for the specified command.
92
18.5:parameters  Parameters or switches for the specified command.
93
18.6:To use FOR in a batch program, use %%variable instead of %variable.
93
18.6:To use FOR in a batch program, use %%variable instead of %variable.
94
18.7:FOR cannot be nested
94
18.7:FOR cannot be nested
95
 
95