summaryrefslogtreecommitdiff
path: root/tests/examplefiles/while.pov
blob: fb182454ceb95b4c6ce7e0a8955e9347665700a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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