summaryrefslogtreecommitdiff
path: root/tests/examplefiles/while.pov
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2016-01-17 17:00:26 +0100
committerGeorg Brandl <georg@python.org>2016-01-17 17:00:26 +0100
commitfc55dc2e95bcea03fbc0d8e1d130c9e53f3f1dad (patch)
tree2a06d2fac7321452513bda7739e297a7e9848ec4 /tests/examplefiles/while.pov
downloadpygments-git-fc55dc2e95bcea03fbc0d8e1d130c9e53f3f1dad.tar.gz
merge default into stable
Diffstat (limited to 'tests/examplefiles/while.pov')
-rw-r--r--tests/examplefiles/while.pov13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/examplefiles/while.pov b/tests/examplefiles/while.pov
new file mode 100644
index 00000000..fb182454
--- /dev/null
+++ b/tests/examplefiles/while.pov
@@ -0,0 +1,13 @@
+#declare Index1 = 0;
+#while(Index1 <= 9)
+
+ #declare Index2 = 0;
+ #while(Index2 <= 19)
+
+ sphere { <Index1, Index2, 0>, .5 }
+
+ #declare Index2 = Index2 + 1;
+ #end
+
+ #declare Index1 = Index1 + 1;
+#end