Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 655 Bytes

theLight.toby

File metadata and controls

46 lines (29 loc) · 655 Bytes
 
Apr 18, 2001
Apr 18, 2001
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// theLight.toby : Just plain cool.
function clockwise(number size) returns nothing
number i
for i = 1 to 360
setPenDown()
goForward(size)
setPenUp()
goBackward(size)
turnRight(1)
endfor
endfunction
function theLight() returns nothing
// This will eventually step in a FOR loop...
clockwise(50)
clockwise(100)
clockwise(150)
clockwise(200)
clockwise(250)
clockwise(300)
clockwise(350)
clockwise(400)
clockwise(450)
clockwise(500)
endfunction
function main() returns nothing
disableFence()
theLight()
endfunction
// end of theLight.toby ...