Mention that for variables are local.

This is the current behaviour, documentation can be updated if this
behaviour changes, assuming it can, because it's an incompatible
change.
This commit is contained in:
Konrad Borowski 2015-02-06 07:48:47 +01:00
parent d7ba6e4a1d
commit b5d9e366ad

View file

@ -7,7 +7,7 @@ for VARNAME in [VALUES...]; COMMANDS...; end
\subsection for-description Description
`for` is a loop construct. It will perform the commands specified by `COMMANDS` multiple times. On each iteration, the environment variable specified by `VARNAME` is assigned a new value from `VALUES`. If `VALUES` is empty, `COMMANDS` will not be executed at all.
`for` is a loop construct. It will perform the commands specified by `COMMANDS` multiple times. On each iteration, the local variable specified by `VARNAME` is assigned a new value from `VALUES`. If `VALUES` is empty, `COMMANDS` will not be executed at all.
\subsection for-example Example