;!knitout-2
;;Machine: SWGN2
;;Carriers: 1 2 3 4 5 6 7 8 9 10

;title: Interlock Sheet (raw knitout)
; Knit a sheet with alternating rows of back/front and front/back knits; effectively two [[1x1 rib]] sheets interlocked with each-other.

;Parameters:
; min = 1 -- needle number of left edge
; max = 20 -- needle number of right edge
; rows = 20 -- number of rows to knit
; carrier = "3" -- carrier name

;Because of its structure, interlock does not require a [[cast-on]].
;Instead, we just bring the yarn in and start knitting:
inhook 3
x-stitch-number 105

; ---- interlock sheet ----
;Even, left-going row:
knit - f20 3
knit - b19 3
knit - f18 3
knit - b17 3
knit - f16 3
knit - b15 3
knit - f14 3
knit - b13 3
knit - f12 3
knit - b11 3
knit - f10 3
knit - b9 3
knit - f8 3
knit - b7 3
knit - f6 3
knit - b5 3
knit - f4 3
knit - b3 3
knit - f2 3
;Skip the leftmost stitch in the first row to prevent leftmost column from unravelling:

;The yarn inserting hook can stop holding the yarn tail after two rows have been knit:
;Odd, right-going row:
knit + f1 3
knit + b2 3
knit + f3 3
knit + b4 3
knit + f5 3
knit + b6 3
knit + f7 3
knit + b8 3
knit + f9 3
knit + b10 3
knit + f11 3
knit + b12 3
knit + f13 3
knit + b14 3
knit + f15 3
knit + b16 3
knit + f17 3
knit + b18 3
knit + f19 3
knit + b20 3

;The yarn inserting hook can stop holding the yarn tail after two rows have been knit:
releasehook 3
;Even, left-going row:
knit - f20 3
knit - b19 3
knit - f18 3
knit - b17 3
knit - f16 3
knit - b15 3
knit - f14 3
knit - b13 3
knit - f12 3
knit - b11 3
knit - f10 3
knit - b9 3
knit - f8 3
knit - b7 3
knit - f6 3
knit - b5 3
knit - f4 3
knit - b3 3
knit - f2 3
knit - b1 3

;The yarn inserting hook can stop holding the yarn tail after two rows have been knit:
;Odd, right-going row:
knit + f1 3
knit + b2 3
knit + f3 3
knit + b4 3
knit + f5 3
knit + b6 3
knit + f7 3
knit + b8 3
knit + f9 3
knit + b10 3
knit + f11 3
knit + b12 3
knit + f13 3
knit + b14 3
knit + f15 3
knit + b16 3
knit + f17 3
knit + b18 3
knit + f19 3
knit + b20 3

;The yarn inserting hook can stop holding the yarn tail after two rows have been knit:
;Even, left-going row:
knit - f20 3
knit - b19 3
knit - f18 3
knit - b17 3
knit - f16 3
knit - b15 3
knit - f14 3
knit - b13 3
knit - f12 3
knit - b11 3
knit - f10 3
knit - b9 3
knit - f8 3
knit - b7 3
knit - f6 3
knit - b5 3
knit - f4 3
knit - b3 3
knit - f2 3
knit - b1 3

;The yarn inserting hook can stop holding the yarn tail after two rows have been knit:
;Odd, right-going row:
knit + f1 3
knit + b2 3
knit + f3 3
knit + b4 3
knit + f5 3
knit + b6 3
knit + f7 3
knit + b8 3
knit + f9 3
knit + b10 3
knit + f11 3
knit + b12 3
knit + f13 3
knit + b14 3
knit + f15 3
knit + b16 3
knit + f17 3
knit + b18 3
knit + f19 3
knit + b20 3

;The yarn inserting hook can stop holding the yarn tail after two rows have been knit:
;Even, left-going row:
knit - f20 3
knit - b19 3
knit - f18 3
knit - b17 3
knit - f16 3
knit - b15 3
knit - f14 3
knit - b13 3
knit - f12 3
knit - b11 3
knit - f10 3
knit - b9 3
knit - f8 3
knit - b7 3
knit - f6 3
knit - b5 3
knit - f4 3
knit - b3 3
knit - f2 3
knit - b1 3

;The yarn inserting hook can stop holding the yarn tail after two rows have been knit:
;Odd, right-going row:
knit + f1 3
knit + b2 3
knit + f3 3
knit + b4 3
knit + f5 3
knit + b6 3
knit + f7 3
knit + b8 3
knit + f9 3
knit + b10 3
knit + f11 3
knit + b12 3
knit + f13 3
knit + b14 3
knit + f15 3
knit + b16 3
knit + f17 3
knit + b18 3
knit + f19 3
knit + b20 3

;The yarn inserting hook can stop holding the yarn tail after two rows have been knit:
;Even, left-going row:
knit - f20 3
knit - b19 3
knit - f18 3
knit - b17 3
knit - f16 3
knit - b15 3
knit - f14 3
knit - b13 3
knit - f12 3
knit - b11 3
knit - f10 3
knit - b9 3
knit - f8 3
knit - b7 3
knit - f6 3
knit - b5 3
knit - f4 3
knit - b3 3
knit - f2 3
knit - b1 3

;The yarn inserting hook can stop holding the yarn tail after two rows have been knit:
;Odd, right-going row:
knit + f1 3
knit + b2 3
knit + f3 3
knit + b4 3
knit + f5 3
knit + b6 3
knit + f7 3
knit + b8 3
knit + f9 3
knit + b10 3
knit + f11 3
knit + b12 3
knit + f13 3
knit + b14 3
knit + f15 3
knit + b16 3
knit + f17 3
knit + b18 3
knit + f19 3
knit + b20 3

;The yarn inserting hook can stop holding the yarn tail after two rows have been knit:
;Even, left-going row:
knit - f20 3
knit - b19 3
knit - f18 3
knit - b17 3
knit - f16 3
knit - b15 3
knit - f14 3
knit - b13 3
knit - f12 3
knit - b11 3
knit - f10 3
knit - b9 3
knit - f8 3
knit - b7 3
knit - f6 3
knit - b5 3
knit - f4 3
knit - b3 3
knit - f2 3
knit - b1 3

;The yarn inserting hook can stop holding the yarn tail after two rows have been knit:
;Odd, right-going row:
knit + f1 3
knit + b2 3
knit + f3 3
knit + b4 3
knit + f5 3
knit + b6 3
knit + f7 3
knit + b8 3
knit + f9 3
knit + b10 3
knit + f11 3
knit + b12 3
knit + f13 3
knit + b14 3
knit + f15 3
knit + b16 3
knit + f17 3
knit + b18 3
knit + f19 3
knit + b20 3

;The yarn inserting hook can stop holding the yarn tail after two rows have been knit:
;Even, left-going row:
knit - f20 3
knit - b19 3
knit - f18 3
knit - b17 3
knit - f16 3
knit - b15 3
knit - f14 3
knit - b13 3
knit - f12 3
knit - b11 3
knit - f10 3
knit - b9 3
knit - f8 3
knit - b7 3
knit - f6 3
knit - b5 3
knit - f4 3
knit - b3 3
knit - f2 3
knit - b1 3

;The yarn inserting hook can stop holding the yarn tail after two rows have been knit:
;Odd, right-going row:
knit + f1 3
knit + b2 3
knit + f3 3
knit + b4 3
knit + f5 3
knit + b6 3
knit + f7 3
knit + b8 3
knit + f9 3
knit + b10 3
knit + f11 3
knit + b12 3
knit + f13 3
knit + b14 3
knit + f15 3
knit + b16 3
knit + f17 3
knit + b18 3
knit + f19 3
knit + b20 3

;The yarn inserting hook can stop holding the yarn tail after two rows have been knit:
;Even, left-going row:
knit - f20 3
knit - b19 3
knit - f18 3
knit - b17 3
knit - f16 3
knit - b15 3
knit - f14 3
knit - b13 3
knit - f12 3
knit - b11 3
knit - f10 3
knit - b9 3
knit - f8 3
knit - b7 3
knit - f6 3
knit - b5 3
knit - f4 3
knit - b3 3
knit - f2 3
knit - b1 3

;The yarn inserting hook can stop holding the yarn tail after two rows have been knit:
;Odd, right-going row:
knit + f1 3
knit + b2 3
knit + f3 3
knit + b4 3
knit + f5 3
knit + b6 3
knit + f7 3
knit + b8 3
knit + f9 3
knit + b10 3
knit + f11 3
knit + b12 3
knit + f13 3
knit + b14 3
knit + f15 3
knit + b16 3
knit + f17 3
knit + b18 3
knit + f19 3
knit + b20 3

;The yarn inserting hook can stop holding the yarn tail after two rows have been knit:
;Even, left-going row:
knit - f20 3
knit - b19 3
knit - f18 3
knit - b17 3
knit - f16 3
knit - b15 3
knit - f14 3
knit - b13 3
knit - f12 3
knit - b11 3
knit - f10 3
knit - b9 3
knit - f8 3
knit - b7 3
knit - f6 3
knit - b5 3
knit - f4 3
knit - b3 3
knit - f2 3
knit - b1 3

;The yarn inserting hook can stop holding the yarn tail after two rows have been knit:
;Odd, right-going row:
knit + f1 3
knit + b2 3
knit + f3 3
knit + b4 3
knit + f5 3
knit + b6 3
knit + f7 3
knit + b8 3
knit + f9 3
knit + b10 3
knit + f11 3
knit + b12 3
knit + f13 3
knit + b14 3
knit + f15 3
knit + b16 3
knit + f17 3
knit + b18 3
knit + f19 3
knit + b20 3

;The yarn inserting hook can stop holding the yarn tail after two rows have been knit:
;Even, left-going row:
knit - f20 3
knit - b19 3
knit - f18 3
knit - b17 3
knit - f16 3
knit - b15 3
knit - f14 3
knit - b13 3
knit - f12 3
knit - b11 3
knit - f10 3
knit - b9 3
knit - f8 3
knit - b7 3
knit - f6 3
knit - b5 3
knit - f4 3
knit - b3 3
knit - f2 3
knit - b1 3

;The yarn inserting hook can stop holding the yarn tail after two rows have been knit:
;Odd, right-going row:
knit + f1 3
knit + b2 3
knit + f3 3
knit + b4 3
knit + f5 3
knit + b6 3
knit + f7 3
knit + b8 3
knit + f9 3
knit + b10 3
knit + f11 3
knit + b12 3
knit + f13 3
knit + b14 3
knit + f15 3
knit + b16 3
knit + f17 3
knit + b18 3
knit + f19 3
knit + b20 3

;The yarn inserting hook can stop holding the yarn tail after two rows have been knit:
;Even, left-going row:
knit - f20 3
knit - b19 3
knit - f18 3
knit - b17 3
knit - f16 3
knit - b15 3
knit - f14 3
knit - b13 3
knit - f12 3
knit - b11 3
knit - f10 3
knit - b9 3
knit - f8 3
knit - b7 3
knit - f6 3
knit - b5 3
knit - f4 3
knit - b3 3
knit - f2 3
knit - b1 3

;The yarn inserting hook can stop holding the yarn tail after two rows have been knit:

; ---- take carrier out and drop remaining loops ----
;Take carrier out with yarn inserting hook:
outhook 3

;drop loops:
drop f1
drop b1
drop f2
drop b2
drop f3
drop b3
drop f4
drop b4
drop f5
drop b5
drop f6
drop b6
drop f7
drop b7
drop f8
drop b8
drop f9
drop b9
drop f10
drop b10
drop f11
drop b11
drop f12
drop b12
drop f13
drop b13
drop f14
drop b14
drop f15
drop b15
drop f16
drop b16
drop f17
drop b17
drop f18
drop b18
drop f19
drop b19
drop f20
drop b20
