Subversion Repositories SvarDOS

Rev

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

Rev 1068 Rev 1073
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)       One of more space-separated patterns or messages.
90
18.3:(set)       One of more space-separated strings or filename wildcards.
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