Skip to content
Snippets Groups Projects
Commit 99c3760f authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

Correct For syntax
parent aa5bd3df
Branches
Tags
No related merge requests found
\input texinfo.tex @c -*-texinfo-*- \input texinfo.tex @c -*-texinfo-*-
@c $Id: gmsh.texi,v 1.59 2003-05-17 18:37:41 geuzaine Exp $ @c $Id: gmsh.texi,v 1.60 2003-05-22 16:13:32 geuzaine Exp $
@c @c
@c Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle @c Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle
@c @c
...@@ -1091,21 +1091,21 @@ equal to the third @var{expression}. At each iteration, the commands ...@@ -1091,21 +1091,21 @@ equal to the third @var{expression}. At each iteration, the commands
comprised between `@code{For ( @var{expression} : @var{expression} : comprised between `@code{For ( @var{expression} : @var{expression} :
@var{expression} )}' and the matching @code{EndFor} are executed. @var{expression} )}' and the matching @code{EndFor} are executed.
@item For @var{string} In ( @var{expression} : @var{expression} ) @item For @var{string} In @{ @var{expression} : @var{expression} @}
Iterates from the value of the first @var{expression} to the value of the Iterates from the value of the first @var{expression} to the value of the
second @var{expression}, with a unit incrementation step. At each iteration, second @var{expression}, with a unit incrementation step. At each iteration,
the value of the iterate is affected to an expression named @var{string}, the value of the iterate is affected to an expression named @var{string},
and the commands comprised between `@code{For @var{string} In ( and the commands comprised between `@code{For @var{string} In @{
@var{expression} : @var{expression} )}' and the matching @code{EndFor} are @var{expression} : @var{expression} @}}' and the matching @code{EndFor} are
executed. executed.
@item For @var{string} In ( @var{expression} : @var{expression} : @var{expression} ) @item For @var{string} In @{ @var{expression} : @var{expression} : @var{expression} @}
Iterates from the value of the first @var{expression} to the value of the Iterates from the value of the first @var{expression} to the value of the
second @var{expression}, with a positive or negative incrementation step second @var{expression}, with a positive or negative incrementation step
equal to the third @var{expression}. At each iteration, the value of the equal to the third @var{expression}. At each iteration, the value of the
iterate is affected to an expression named @var{string}, and the commands iterate is affected to an expression named @var{string}, and the commands
comprised between `@code{For @var{string} In ( @var{expression} : comprised between `@code{For @var{string} In @{ @var{expression} :
@var{expression} : @var{expression} )}' and the matching @code{EndFor} are @var{expression} : @var{expression} @}}' and the matching @code{EndFor} are
executed. executed.
@item EndFor @item EndFor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment