Skip to content
Snippets Groups Projects
Commit 21c83e02 authored by Jean-François Remacle's avatar Jean-François Remacle
Browse files

a very simple loop example

parent 7475e5bb
No related branches found
No related tags found
No related merge requests found
/*
This is a very simple control sequense
with 2 imbricated loops
*/
t = 0.0;
For (1:10)
x = 0.0;
For (1:10:2)
Point(newp) = {t,x,0,.1};
x = x + 0.1;
EndFor
t = t + 0.1;
EndFor
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment