From b5d9e366ad8555544908387da5b42c438d14fb59 Mon Sep 17 00:00:00 2001 From: Konrad Borowski Date: Fri, 6 Feb 2015 07:48:47 +0100 Subject: [PATCH] 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. --- doc_src/for.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc_src/for.txt b/doc_src/for.txt index 15b28a25f..affb58c62 100644 --- a/doc_src/for.txt +++ b/doc_src/for.txt @@ -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