Skip to content

Commit ed0b85c

Browse files
style: Shortening some examples
1 parent 6854da9 commit ed0b85c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Commands/Get-Turtle.ps1

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function Get-Turtle {
6666
turtle ('forward', 10, 'rotate', 120 * 3)
6767
.EXAMPLE
6868
# Let's make a series of polygons, decreasing in size
69-
turtle polygon 10 6 polygon 10 5 polygon 10 4 polygon 10 3
69+
turtle polygon 10 6 polygon 10 5 polygon 10 4
7070
.EXAMPLE
7171
# We can also use a loop to produce a series of steps
7272
# Let's extend our previous example and make 9 polygons
@@ -105,10 +105,8 @@ function Get-Turtle {
105105
'ArcRight', 42, 72, 'ArcLeft', 60, 60 *
106106
(320/12)
107107
)
108-
.EXAMPLE
109-
# We can draw a pair of arcs and turn back after each one
110-
turtle ArcRight 42 45 rotate (180 - 45) ArcRight 42 45 rotate (180 - 45)
111108
.EXAMPLE
109+
# We can draw a pair of arcs and turn back after each one
112110
# We call this a 'petal'
113111
turtle Petal 42 60
114112
.EXAMPLE

0 commit comments

Comments
 (0)