simple_loop.ijm 244 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// example of a simple for loop

// do something once
print("Getting started");

//loop
for (i = 0; i < 10; i++) {
	print("We are now in loop: "+i);
	wait(100); // not needed. just for illustration
}


//finish up
print("Concluding remarks.");