Home | History | Annotate | Download | only in doc

Lines Matching full:foreach

264 * Foreach Function::            Repeat some text with controlled variation.
6200 * Foreach Function:: Repeat some text with controlled variation.
6796 @node Conditional Functions, Foreach Function, File Name Functions, Functions
6849 @node Foreach Function, Call Function, Conditional Functions, Functions
6850 @section The @code{foreach} Function
6851 @findex foreach
6854 The @code{foreach} function is very different from other functions. It
6857 shell @code{sh} and the @code{foreach} command in the C-shell @code{csh}.
6859 The syntax of the @code{foreach} function is:
6862 $(foreach @var{var},@var{list},@var{text})
6877 of @code{foreach}.
6884 files := $(foreach dir,$(dirs),$(wildcard $(dir)/*))
6905 files := $(foreach dir,$(dirs),$(find_files))
6911 actual function call to be reexpanded under the control of @code{foreach};
6915 The @code{foreach} function has no permanent effect on the variable
6916 @var{var}; its value and flavor after the @code{foreach} function call are
6919 @code{foreach}. The variable @var{var} is a simply-expanded variable
6920 during the execution of @code{foreach}. If @var{var} was undefined
6921 before the @code{foreach} function call, it is undefined after the call.
6929 files := $(foreach Esta escrito en espanol!,b c ch,$(find_files))
6937 @node Call Function, Value Function, Foreach Function, Functions
6978 expansion rules, like @code{foreach} or @code{if}, may not work as you
7012 map = $(foreach a,$(2),$(call $(1),$(a)))
7134 $(foreach prog,$(PROGRAMS),$(eval $(call PROGRAM_template,$(prog))))
10500 @item $(foreach @var{var},@var{words},@var{text})
10504 @xref{Foreach Function, ,The @code{foreach} Function}.