Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/samples/math-prime-factors.ta
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2013-01-30 18:26:39 (GMT)
committer Walter Bender <walter.bender@gmail.com>2013-01-30 18:26:39 (GMT)
commitbee4962bfba81d2cfc25126714f30a5322e0d5de (patch)
treeb33caee0330902e16f411711ebc0c53a26540ccf /samples/math-prime-factors.ta
parentaa4626c5ea05aa34788615a6792d40b683a6f0e6 (diff)
new sample program for calculating prime factors
Diffstat (limited to 'samples/math-prime-factors.ta')
-rw-r--r--samples/math-prime-factors.ta399
1 files changed, 399 insertions, 0 deletions
diff --git a/samples/math-prime-factors.ta b/samples/math-prime-factors.ta
new file mode 100644
index 0000000..b789ee0
--- /dev/null
+++ b/samples/math-prime-factors.ta
@@ -0,0 +1,399 @@
+[[0, ["start", 2.0], 500, 60, [null, 330]],
+[1, ["while", 0], 898, 336, [4, 5, 11, 155]],
+[2, ["storein", 0], 536, 458, [305, 3, 312, 316]],
+[3, ["string", "n"], 609, 458, [2, null]],
+[4, ["vspace", 0], 898, 294, [153, 1]],
+[5, ["greater2", 0], 954, 302, [1, 6, 8, null]],
+[6, "box", 1000, 302, [5, 7, null]],
+[7, ["string", "n"], 1054, 302, [6, null]],
+[8, ["number", 1], 1024, 344, [5, null]],
+[9, "hat", 920, 180, [null, 10, 85]],
+[10, ["string", "get next prime factor"], 980, 192, [9, null]],
+[11, "stack", 916, 402, [1, 12, null]],
+[12, ["string", "get next prime factor"], 976, 402, [11, null]],
+[13, "box", 1051, 1098, [87, 14, null]],
+[14, ["string", "factor"], 1105, 1098, [13, null]],
+[15, "box", 1105, 1182, [19, 16, null]],
+[16, ["string", "n"], 1159, 1182, [15, null]],
+[17, ["storein", 0], 978, 1140, [87, 18, 19, null]],
+[18, ["string", "n"], 1051, 1140, [17, null]],
+[19, ["division2", 0], 1051, 1182, [17, 15, 20]],
+[20, "box", 1129, 1224, [19, 21, null]],
+[21, ["string", "factor"], 1183, 1224, [20, null]],
+[22, ["storein", 0], 921, 310, [145, 23, 24, null]],
+[23, ["string", "factor"], 994, 310, [22, null]],
+[24, ["number", 2], 994, 352, [22, null]],
+[25, ["storein", 0], 903, 510, [145, 26, 34, 36]],
+[26, ["string", "max"], 976, 510, [25, null]],
+[27, "box", 1138, 552, [30, 28, null]],
+[28, ["string", "n"], 1192, 552, [27, null]],
+[29, "int", 1030, 552, [34, 30]],
+[30, "sqrt", 1084, 552, [29, 27]],
+[31, ["while", 144], 903, 762, [71, 47, 70, 84]],
+[32, ["plus2", 0], 994, 1118, [39, 37, 33]],
+[33, ["number", 1], 1048, 1160, [32, null]],
+[34, ["plus2", 0], 976, 552, [25, 29, 35]],
+[35, ["number", 1], 1030, 594, [34, null]],
+[36, ["vspace", 0], 903, 594, [25, 76]],
+[37, "box", 1048, 1118, [32, 38, null]],
+[38, ["string", "factor"], 1102, 1118, [37, null]],
+[39, ["storein", 0], 921, 1076, [42, 40, 32, null]],
+[40, ["string", "factor"], 994, 1076, [39, null]],
+[41, "stopstack", 939, 1018, [63, null]],
+[42, ["if", 20], 921, 910, [70, 48, 63, 39]],
+[43, "box", 1005, 728, [47, 44, null]],
+[44, ["string", "factor"], 1059, 728, [43, null]],
+[45, "box", 1029, 770, [47, 46, null]],
+[46, ["string", "max"], 1083, 770, [45, null]],
+[47, ["less2", 0], 959, 728, [31, 43, 45, null]],
+[48, ["equal2", 20], 977, 836, [42, 50, 49, null]],
+[49, ["number", 0], 1023, 918, [48, null]],
+[50, ["remainder2", 0], 1023, 836, [48, 51, 53]],
+[51, "box", 1086, 836, [50, 52, null]],
+[52, ["string", "n"], 1140, 836, [51, null]],
+[53, "box", 1110, 878, [50, 54, null]],
+[54, ["string", "factor"], 1164, 878, [53, null]],
+[55, ["storein", 0], 939, 1432, [65, 56, 57, 61]],
+[56, ["string", "factor"], 1012, 1432, [55, null]],
+[57, "box", 1012, 1474, [55, 58, null]],
+[58, ["string", "n"], 1066, 1474, [57, null]],
+[59, "hat", 960, 280, [null, 60, 86]],
+[60, ["string", "push factor"], 1020, 292, [59, null]],
+[61, "stack", 939, 1516, [55, 62, null]],
+[62, ["string", "push factor"], 999, 1516, [61, null]],
+[63, "stack", 939, 976, [42, 64, 41]],
+[64, ["string", "push factor"], 999, 976, [63, null]],
+[65, ["if", 40], 921, 1366, [69, 72, 55, null]],
+[66, ["number", 1], 1047, 1374, [72, null]],
+[67, "box", 1023, 1332, [72, 68, null]],
+[68, ["string", "n"], 1077, 1332, [67, null]],
+[69, ["vspace", 0], 921, 1324, [79, 65]],
+[70, ["vspace", 20], 921, 828, [31, 42]],
+[71, ["vspace", 0], 903, 720, [76, 31]],
+[72, ["greater2", 0], 977, 1332, [65, 67, 66, null]],
+[73, ["storein", 0], 978, 972, [396, 74, 75, 87]],
+[74, ["string", "new factor"], 1051, 972, [73, null]],
+[75, ["number", 1], 1051, 1014, [73, null]],
+[76, ["storein", 0], 903, 636, [36, 77, 78, 71]],
+[77, ["string", "new factor"], 976, 636, [76, null]],
+[78, ["number", 0], 976, 678, [76, null]],
+[79, ["if", 102], 903, 1258, [84, 80, 69, null]],
+[80, ["equal2", 0], 959, 1224, [79, 82, 81, null]],
+[81, ["number", 0], 1005, 1266, [80, null]],
+[82, "box", 1005, 1224, [80, 83, null]],
+[83, ["string", "new factor"], 1059, 1224, [82, null]],
+[84, ["vspace", 20], 903, 1176, [31, 79]],
+[85, "sandwichclampcollapsed", 920, 234, [9, 145, null]],
+[86, "sandwichclampcollapsed", 960, 334, [59, 241, null]],
+[87, ["storein", 0], 978, 1056, [73, 96, 13, 17]],
+[88, ["number", 1], 1105, 536, [89, null]],
+[89, ["plus2", 0], 1051, 494, [98, 94, 88]],
+[90, ["vspace", 20], 978, 536, [98, 390]],
+[91, ["storein", 0], 898, 168, [331, 92, 93, 153]],
+[92, ["string", "count"], 971, 168, [91, null]],
+[93, ["number", 0], 971, 210, [91, null]],
+[94, "box", 1105, 494, [89, 95, null]],
+[95, ["string", "count"], 1159, 494, [94, null]],
+[96, "box", 1051, 1056, [87, 97, null]],
+[97, ["string", "count"], 1105, 1056, [96, null]],
+[98, ["storein", 0], 978, 452, [246, 99, 89, 90]],
+[99, ["string", "count"], 1051, 452, [98, null]],
+[100, ["storein", 0], 898, 586, [157, 101, 102, 293]],
+[101, ["string", "radius"], 971, 586, [100, null]],
+[102, ["number", 400], 971, 628, [100, null]],
+[103, ["string", "i"], 210, 796, [197, null]],
+[104, "seth", 18, 978, [195, 266, 181]],
+[105, ["number", 360], 184, 1020, [106, null]],
+[106, ["division2", 0], 130, 1020, [266, 105, 196]],
+[107, "penup", 898, 712, [293, 338]],
+[108, "pendown", 36, 1292, [161, 110]],
+[109, "forward", 18, 1142, [181, 115, 166]],
+[110, "forward", 36, 1334, [108, 111, 291]],
+[111, ["number", 1], 109, 1334, [110, null]],
+[112, "penup", 36, 1460, [121, null]],
+[113, "pendown", 898, 838, [141, 341]],
+[114, "back", 18, 1892, [161, 117, 132]],
+[115, "box", 91, 1142, [109, 116, null]],
+[116, ["string", "radius"], 145, 1142, [115, null]],
+[117, "box", 76, 1892, [114, 118, null]],
+[118, ["string", "radius"], 130, 1892, [117, null]],
+[119, "hat", 40, 500, [null, 120, 130]],
+[120, ["string", "increment color"], 100, 512, [119, null]],
+[121, "stack", 36, 1418, [291, 122, 112]],
+[122, ["string", "increment color"], 96, 1418, [121, null]],
+[123, "setcolor", 23, 606, [263, 129, null]],
+[124, ["number", 100], 215, 648, [126, null]],
+[125, "color", 161, 606, [129, null]],
+[126, ["division2", 0], 161, 648, [129, 124, 127]],
+[127, "box", 239, 690, [126, 128, null]],
+[128, ["string", "save n"], 293, 690, [127, null]],
+[129, ["plus2", 0], 107, 606, [123, 125, 126]],
+[130, "sandwichclampcollapsed", 40, 554, [119, 263, null]],
+[131, ["until", 534], 0, 870, [140, 136, 195, null]],
+[132, ["storein", 20], 18, 1934, [114, 193, 257, null]],
+[133, ["string", "i"], 145, 1934, [193, null]],
+[134, "box", 145, 2058, [257, 194, null]],
+[135, ["string", "i"], 253, 2058, [194, null]],
+[136, ["equal2", 20], 56, 796, [131, 137, 159, null]],
+[137, "box", 102, 796, [136, 197, null]],
+[138, "hat", 17, 180, [null, 139, 223]],
+[139, ["string", "draw cluster"], 77, 192, [138, null]],
+[140, ["vspace", 20], 0, 788, [187, 131]],
+[141, "stack", 898, 796, [338, 142, 113]],
+[142, ["string", "draw cluster"], 958, 796, [141, null]],
+[143, "box", 1005, 210, [146, 144, null]],
+[144, ["string", "count"], 1059, 210, [143, null]],
+[145, ["ifelse", [20, 20]],
+903, 244, [85, 146, 22, 148, 25]],
+[146, ["equal2", 0], 959, 210, [145, 143, 147, null]],
+[147, ["number", 0], 1005, 252, [146, null]],
+[148, ["storein", 0], 921, 410, [145, 149, 152, null]],
+[149, ["string", "factor"], 994, 410, [148, null]],
+[150, "box", 1048, 452, [152, 151, null]],
+[151, ["string", "count"], 1102, 452, [150, null]],
+[152, "box", 994, 452, [148, 150, null]],
+[153, "comment", 898, 252, [91, 154, 4]],
+[154, ["string", "calculate prime factors"], 986, 252, [153, null]],
+[155, "comment", 898, 460, [1, 156, 157]],
+[156, ["string", "display prime factors"], 986, 460, [155, null]],
+[157, ["storein", 0], 898, 502, [155, 158, 182, 100]],
+[158, ["string", "level"], 971, 502, [157, null]],
+[159, "box", 102, 878, [136, 189, null]],
+[160, ["string", "i"], 127, 664, [184, null]],
+[161, ["ifelse", [79, 161]], 18, 1226, [166, 162, 108, 280, 114]],
+[162, ["equal2", 0], 74, 1192, [161, 167, 163, null]],
+[163, ["number", 1], 120, 1234, [162, null]],
+[164, "stack", 36, 1678, [235, 165, 282]],
+[165, ["string", "draw cluster"], 96, 1678, [164, null]],
+[166, ["vspace", 0], 18, 1184, [109, 161]],
+[167, "box", 120, 1192, [162, 168, null]],
+[168, ["string", "level"], 174, 1192, [167, null]],
+[169, ["storein", 0], 83, 588, [212, 207, 178, 179]],
+[170, ["number", 2], 234, 672, [178, null]],
+[171, "box", 210, 630, [178, 203, null]],
+[172, ["storein", 0], 23, 364, [296, 173, 177, 180]],
+[173, ["string", "radius"], 96, 364, [172, null]],
+[174, ["number", 2], 150, 448, [177, null]],
+[175, "box", 150, 406, [177, 176, null]],
+[176, ["string", "radius"], 204, 406, [175, null]],
+[177, ["product2", 0], 96, 406, [172, 175, 174]],
+[178, ["division2", 0], 156, 630, [169, 171, 170]],
+[179, ["vspace", 0], 83, 672, [169, 268]],
+[180, ["vspace", 0], 23, 448, [172, 213]],
+[181, ["vspace", 40], 18, 1020, [104, 109]],
+[182, "box", 971, 544, [157, 183, null]],
+[183, ["string", "count"], 1025, 544, [182, null]],
+[184, ["plus2", 0], 73, 664, [187, 160, 185]],
+[185, "box", 127, 706, [184, 186, null]],
+[186, ["string", "level"], 181, 706, [185, null]],
+[187, ["storein", 20], 0, 664, [214, 184, 188, 140]],
+[188, ["number", 0], 73, 746, [187, null]],
+[189, "box", 156, 878, [159, 190, null]],
+[190, ["string", "level"], 210, 878, [189, null]],
+[191, "box", 145, 1976, [193, 192, null]],
+[192, ["string", "level"], 199, 1976, [191, null]],
+[193, ["plus2", 0], 91, 1934, [132, 133, 191]],
+[194, ["plus2", 0], 199, 2058, [134, 135, 255]],
+[195, ["vspace", 0], 18, 936, [131, 104]],
+[196, "box", 208, 1062, [106, 200, null]],
+[197, ["plus2", 0], 156, 796, [137, 103, 198]],
+[198, "box", 210, 838, [197, 199, null]],
+[199, ["string", "level"], 264, 838, [198, null]],
+[200, "box", 262, 1062, [196, 201, null]],
+[201, ["string", "level"], 316, 1062, [200, null]],
+[202, ["plus2", 0], 156, 464, [212, 210, 204]],
+[203, ["string", "radius"], 264, 630, [171, null]],
+[204, "box", 210, 506, [202, 205, null]],
+[205, ["string", "level"], 264, 506, [204, null]],
+[206, ["plus2", 0], 135, 490, [215, 211, 208]],
+[207, ["string", "radius"], 156, 588, [169, null]],
+[208, "box", 189, 532, [206, 209, null]],
+[209, ["string", "level"], 243, 532, [208, null]],
+[210, ["string", "heading"], 210, 464, [202, null]],
+[211, ["string", "heading"], 189, 490, [206, null]],
+[212, ["storein", 20], 83, 464, [297, 202, 224, 169]],
+[213, "seth", 23, 490, [180, 215, 258]],
+[214, "sandwichclampcollapsed", 17, 654, [216, 187, null]],
+[215, "box", 81, 490, [213, 206, null]],
+[216, "hat", 17, 600, [null, 217, 214]],
+[217, ["string", "inner loop"], 77, 612, [216, null]],
+[218, "stack", 0, 370, [272, 219, 276]],
+[219, ["string", "inner loop"], 60, 370, [218, null]],
+[220, ["number", 1], 187, 1636, [225, null]],
+[221, ["plus2", 0], 109, 1804, [226, 230, 222]],
+[222, ["number", 1], 163, 1846, [221, null]],
+[223, "sandwichclampcollapsed", 17, 234, [138, 284, null]],
+[224, "heading", 156, 546, [212, null]],
+[225, ["minus2", 0], 109, 1594, [228, 232, 220]],
+[226, ["storein", 0], 36, 1762, [282, 227, 221, 234]],
+[227, ["string", "level"], 109, 1762, [226, null]],
+[228, ["storein", 0], 36, 1552, [280, 229, 225, 235]],
+[229, ["string", "level"], 109, 1552, [228, null]],
+[230, "box", 163, 1804, [221, 231, null]],
+[231, ["string", "level"], 217, 1804, [230, null]],
+[232, "box", 163, 1594, [225, 233, null]],
+[233, ["string", "level"], 217, 1594, [232, null]],
+[234, ["vspace", 0], 36, 1846, [226, null]],
+[235, ["vspace", 0], 36, 1636, [228, 164]],
+[236, "comment", 243, 264, [298, 238, null]],
+[237, ["string", "level "], 385, 264, [238, null]],
+[238, ["plus2", 0], 331, 264, [236, 237, 247]],
+[239, "box", 439, 306, [247, 240, null]],
+[240, ["string", "level"], 493, 306, [239, null]],
+[241, "comment", 978, 368, [86, 242, 246]],
+[242, ["plus2", 0], 1066, 368, [241, 243, 244]],
+[243, ["string", "factor "], 1120, 368, [242, null]],
+[244, "box", 1120, 410, [242, 245, null]],
+[245, ["string", "factor"], 1174, 410, [244, null]],
+[246, ["vspace", 0], 978, 410, [241, 98]],
+[247, ["plus2", 0], 385, 306, [238, 239, 248]],
+[248, ["plus2", 0], 439, 348, [247, 250, 249]],
+[249, ["plus2", 0], 493, 390, [248, 251, 259]],
+[250, ["string", " n "], 493, 348, [248, null]],
+[251, "box", 547, 390, [249, 252, null]],
+[252, "box", 601, 390, [251, 253, null]],
+[253, ["string", "level"], 655, 390, [252, null]],
+[254, ["number", 1], 145, 2016, [257, null]],
+[255, "box", 253, 2100, [194, 256, null]],
+[256, ["string", "level"], 307, 2100, [255, null]],
+[257, ["plus2", 0], 91, 2016, [132, 254, 134]],
+[258, ["vspace", 0], 23, 532, [213, 278]],
+[259, ["plus2", 0], 547, 432, [249, 260, 267]],
+[260, ["string", " h "], 601, 432, [259, null]],
+[261, "hat", 260, 200, [null, 262, 298]],
+[262, ["string", "status"], 320, 212, [261, null]],
+[263, "stack", 23, 564, [130, 264, 123]],
+[264, ["string", "status"], 83, 564, [263, null]],
+[265, "heading", 130, 978, [266, null]],
+[266, ["plus2", 0], 76, 978, [104, 265, 106]],
+[267, "heading", 601, 474, [259, null]],
+[268, "stack", 83, 714, [179, 269, null]],
+[269, ["string", "status"], 143, 714, [268, null]],
+[270, "hat", 100, 400, [null, 271, 297]],
+[271, ["string", "save level"], 160, 412, [270, null]],
+[272, "stack", 0, 328, [295, 273, 218]],
+[273, ["string", "save level"], 60, 328, [272, null]],
+[274, "hat", 40, 300, [null, 275, 296]],
+[275, ["string", "restore level"], 100, 312, [274, null]],
+[276, "stack", 0, 412, [218, 277, null]],
+[277, ["string", "restore level"], 60, 412, [276, null]],
+[278, "stack", 23, 574, [258, 279, null]],
+[279, ["string", "status"], 83, 574, [278, null]],
+[280, "comment", 36, 1510, [161, 281, 228]],
+[281, ["string", "drop level"], 124, 1510, [280, null]],
+[282, "comment", 36, 1720, [164, 283, 226]],
+[283, ["string", "raise level"], 124, 1720, [282, null]],
+[284, "comment", 0, 244, [223, 286, 295]],
+[285, ["string", "level == "], 142, 244, [286, null]],
+[286, ["plus2", 0], 88, 244, [284, 285, 287]],
+[287, "box", 142, 286, [286, 288, null]],
+[288, ["string", "level"], 196, 286, [287, null]],
+[289, "comment", 898, 922, [341, 290, null]],
+[290, ["string", "done"], 986, 922, [289, null]],
+[291, "back", 36, 1376, [110, 292, 121]],
+[292, ["number", 1], 94, 1376, [291, null]],
+[293, "setpensize", 898, 670, [100, 294, 107]],
+[294, ["division2", 0], 1010, 670, [293, 328, 326]],
+[295, ["vspace", 0], 0, 286, [284, 272]],
+[296, "sandwichclampcollapsed", 40, 354, [274, 172, null]],
+[297, "sandwichclampcollapsed", 100, 454, [270, 212, null]],
+[298, "sandwichclampcollapsed", 260, 254, [261, 236, null]],
+[299, ["while", 163], 518, 266, [309, 303, 305, null]],
+[300, ["storein", 0], 518, 140, [330, 301, 302, 309]],
+[301, ["string", "save n"], 591, 140, [300, null]],
+[302, ["number", 2.0], 591, 182, [300, null]],
+[303, ["less2", 0], 574, 232, [299, 310, 304, null]],
+[304, ["number", 100], 644, 274, [303, null]],
+[305, "fillscreen2", 536, 332, [299, 306, 308, 307, 2]],
+[306, ["number", 60], 627, 332, [305, null]],
+[307, ["number", 100], 627, 416, [305, null]],
+[308, "black", 627, 374, [305, null]],
+[309, ["vspace", 0], 518, 224, [300, 299]],
+[310, "box", 620, 232, [303, 311, null]],
+[311, ["string", "save n"], 674, 232, [310, null]],
+[312, "box", 609, 500, [2, 313, null]],
+[313, ["string", "save n"], 663, 500, [312, null]],
+[314, "hat", 880, 80, [null, 315, 331]],
+[315, ["string", "main loop"], 940, 92, [314, null]],
+[316, "stack", 536, 542, [2, 317, 318]],
+[317, ["string", "main loop"], 596, 542, [316, null]],
+[318, "wait", 536, 584, [316, 319, 320]],
+[319, ["number", 1], 594, 584, [318, null]],
+[320, ["storein", 0], 536, 626, [318, 321, 325, null]],
+[321, ["string", "save n"], 609, 626, [320, null]],
+[322, ["number", 1.0], 663, 710, [325, null]],
+[323, "box", 663, 668, [325, 324, null]],
+[324, ["string", "save n"], 717, 668, [323, null]],
+[325, ["plus2", 0], 609, 668, [320, 323, 322]],
+[326, "box", 1088, 712, [294, 327, null]],
+[327, ["string", "save n"], 1142, 712, [326, null]],
+[328, "box", 1064, 670, [294, 329, null]],
+[329, ["string", "radius"], 1118, 670, [328, null]],
+[330, ["forever", 266], 500, 106, [0, 300, null]],
+[331, "sandwichclampcollapsed", 880, 134, [314, 91, null]],
+[332, "penup", 298, 610, [335, 343]],
+[333, "pendown", 298, 736, [343, 350]],
+[334, "leftpos", 356, 652, [343, null]],
+[335, "setcolor", 298, 568, [363, 336, 332]],
+[336, "white", 382, 568, [335, null]],
+[337, "red", 982, 754, [338, null]],
+[338, "setcolor", 898, 754, [107, 337, 141]],
+[339, "hat", 280, 480, [null, 340, 363]],
+[340, ["string", "display"], 340, 492, [339, null]],
+[341, "stack", 898, 880, [113, 342, 289]],
+[342, ["string", "display"], 958, 880, [341, null]],
+[343, ["setxy2", 0], 298, 652, [332, 334, 344, 333]],
+[344, ["number", 0], 356, 694, [343, null]],
+[345, "show", 316, 886, [349, 354, 372]],
+[346, ["string", " prime"], 482, 970, [353, null]],
+[347, ["equal2", 0], 354, 786, [349, 351, 348, null]],
+[348, ["number", 1.0], 400, 828, [347, null]],
+[349, ["ifelse", [41, 0]],
+298, 820, [350, 347, 345, 371, 361]],
+[350, ["vspace", 0], 298, 778, [333, 349]],
+[351, "box", 400, 786, [347, 352, null]],
+[352, ["string", "count"], 454, 786, [351, null]],
+[353, ["plus2", 0], 428, 928, [354, 356, 346]],
+[354, ["plus2", 0], 374, 886, [345, 355, 353]],
+[355, ["string", " "], 428, 886, [354, null]],
+[356, "box", 482, 928, [353, 357, null]],
+[357, ["string", "save n"], 536, 928, [356, null]],
+[358, ["setxy2", 0], 298, 1130, [361, 359, 360, 362]],
+[359, ["number", 0], 356, 1130, [358, null]],
+[360, ["number", 0], 356, 1172, [358, null]],
+[361, "penup", 298, 1088, [349, 358]],
+[362, "pendown", 298, 1214, [358, null]],
+[363, "sandwichclampcollapsed", 280, 534, [339, 335, null]],
+[364, ["plus2", 0], 374, 1028, [371, 365, 366]],
+[365, ["string", " "], 428, 1028, [364, null]],
+[366, ["plus2", 0], 428, 1070, [364, 367, 370]],
+[367, "box", 482, 1070, [366, 368, null]],
+[368, ["string", "save n"], 536, 1070, [367, null]],
+[369, ["string", " = "], 536, 1112, [370, null]],
+[370, ["plus2", 0], 482, 1112, [366, 369, 375]],
+[371, "show", 316, 1028, [349, 364, null]],
+[372, ["vspace", 20], 316, 928, [345, null]],
+[373, ["storein", 0], 996, 684, [390, 374, 379, 395]],
+[374, ["string", "factor string"], 1063, 684, [373, null]],
+[375, "box", 536, 1154, [370, 376, null]],
+[376, ["string", "factor string"], 590, 1154, [375, null]],
+[377, "box", 1117, 870, [387, 378, null]],
+[378, ["string", "factor string"], 1171, 870, [377, null]],
+[379, ["plus2", 0], 1063, 726, [373, 380, 383]],
+[380, ["string", ""], 1117, 726, [379, null]],
+[381, ["string", " x "], 1171, 912, [382, null]],
+[382, ["plus2", 0], 1117, 912, [387, 381, 385]],
+[383, "box", 1117, 768, [379, 384, null]],
+[384, ["string", "factor"], 1171, 768, [383, null]],
+[385, "box", 1171, 954, [382, 386, null]],
+[386, ["string", "factor"], 1225, 954, [385, null]],
+[387, ["plus2", 0], 1063, 870, [388, 377, 382]],
+[388, ["storein", 0], 996, 828, [390, 389, 387, null]],
+[389, ["string", "factor string"], 1063, 828, [388, null]],
+[390, ["ifelse", [42, 21]], 978, 618, [90, 394, 373, 388, 396]],
+[391, "box", 1080, 584, [394, 392, null]],
+[392, ["string", "count"], 1134, 584, [391, null]],
+[393, ["number", 1.0], 1080, 626, [394, null]],
+[394, ["equal2", 0], 1034, 584, [390, 391, 393, null]],
+[395, ["vspace", 0], 996, 768, [373, null]],
+[396, ["vspace", 0], 978, 930, [390, 73]]]