sample shawlRep with m:
row : K 2, YO, K m, YO, K, YO, K m, YO, K 2.
row : K 2, *P; to last 2, K 2.
row : K 2, YO, P m + 2, YO, K, YO, P m + 2, YO, K 2.
row : K 2, *P; to last 2, K 2.
sample shawlBody with m
| m > 10:
shawlRep with m.
| m <= 10:
shawlRep with m.
shawlBody with m + 4.
pattern "Shawl":
CO 7.
shawlBody with 1.
BO 39.
sample circleX with n, max
| n < max:
rnd : [K, YO, K n, YO, K] 4.
rnd : *K; to end.
circleX with n + 2, max.
sample diagonalLace with n:
**
rnd : *K2T, YO; to end.
rnd : *K; to end.
repeat n
sample garterStitchCC with n, type
| type = 0:
**
row CC : *K; to end.
row CC : *P; to end.
repeat n
| type = 1:
**
rnd CC : *K; to end.
rnd CC : *P; to end.
repeat n
pattern "Market Bag":
section "Body":
CO 8 circular.
rnd : *K, YO, K; to end.
rnd : *K; to end.
circleX with 1, 23.
diagonalLace with 30.
garterStitchCC with 4, 1.
BO 100.
section "Handle":
PU 10 from "Body top".
garterStitchCC with 2, 0.
row : K, K2T, K 4, K2T, K.
garterStitchCC with 100, 0.
row : K, M1, K 6, M1, K.
garterStitchCC with 2, 0.
Join 10 to "Body top".
sample edging with r:
**
row : *K; to end.
repeat r
sample seedStitchBordered with r:
**
row : K 2, *P, K; to last 3, P, K 2.
repeat r
pattern "Project Display Board":
CO 79.
edging with 4.
seedStitchBordered with 70.
edging with 4.
BO 79.
pattern "Basic Sts":
CO 40.
row : K 40.
row : P 40.
row : KB 40.
row : PB 40.
row : K1B 40.
row : P1B 40.
row : S 40.
row : SK 40.
row : SP 40.
row : K2T 20.
row : P2T 10.
row : SSK 5.
row : SSP 2, P.
row : S, K, PSSO, K.
row : K, YO, K.
row : KFB 3.
row : PFB 6.
row : K, M1, K 11.
row : K, M1L, K 12.
row : K, M1R, K 13.
BO 15.
pattern "Compound Stitch Test":
CO 20.
row : < K, P >, K 19.
BO 20.
pattern "Fixed Stitch Repeat Test":
CO 18.
row : [K, P, K] 6.
BO 18.
pattern "Undetermined Stitch Repeat Test":
CO 100.
row : *K, P; to end.
row : K, *P; to last 1, K.
BO 100.
pattern "Row Repeat Test":
CO 10.
**
row : *K; to end.
repeat 2
BO 10.
pattern "Section Test":
section "first section":
CO 20.
row : K 20.
BO 20.
section "second section":
CO 5.
row : K, P 3, K.
BO 5.
sample stockinette with m, n:
**
row : K m.
repeat n
pattern "Sample Test":
CO 20.
stockinette with 20, 3.
BO 20.
sample recursiveSample with m, n
| m <= n:
row : P m, *K; to end.
recursiveSample with m + 1, n.
| m > n:
row : *K; to end.
pattern "Sample Recursion":
CO 20.
recursiveSample with 1, 10.
BO 20.
sample sampleBranch with m, n
| m = 0:
row : K n.
| m > 0:
row : P n.
pattern "Branch Test":
CO 4.
sampleBranch with 0, 4.
sampleBranch with 1, 4.
BO 4.
pattern "Row Type Test":
CO 20.
rnd : K 20.
row : P 20.
BO 20.
pattern "Color Test":
CO 20.
row MC : K 20.
row CC : P 20.
BO 20.
patern "Error Test":
CO 20.
row MC : K 20.
row CC : P 19.
row : knit
BO 20.