home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / coders / arexx / moos / demos / rexx_stem.out < prev    next >
Text File  |  1997-03-25  |  8KB  |  411 lines

  1.  
  2.  
  3.  
  4. #### StemSearch(pattern,options) #############################################
  5. -------------------- Input stem ----------------------------------------------
  6. IN.1 == random 0.485814443
  7. IN.2 == Example entry...
  8. IN.3 == random 0.754475877
  9. IN.4 == Example entry...
  10. IN.5 == random 0.526465645
  11. IN.6 == Example entry...
  12. IN.7 == random 0.522760915
  13. IN.8 == Example entry...
  14. IN.9 == random 0.675810560
  15. IN.10 == Example entry...
  16. IN.11 == random 0.619254858
  17. IN.12 == Example entry...
  18. IN.13 == random 0.812134620
  19. IN.14 == Example entry...
  20. IN.15 == random 0.377914169
  21. IN.16 == Example entry...
  22. IN.17 == random 0.809607580
  23. IN.18 == Example entry...
  24. IN.19 == random 0.037067305
  25. IN.20 == Example entry...
  26. -------------------- StemSearch('Ex#?','in.* out.* Case') --------------------
  27. Example entry...
  28. Example entry...
  29. Example entry...
  30. Example entry...
  31. Example entry...
  32. Example entry...
  33. Example entry...
  34. Example entry...
  35. Example entry...
  36. -------------------- StemSearch('#?dom#?','in.* out. Pos 12') ----------------
  37. random 0.812134620
  38. random 0.377914169
  39. random 0.809607580
  40. random 0.037067305
  41.  
  42.  
  43.  
  44. #### StemCopy(options) #######################################################
  45. -------------------- Destination stem ----------------------------------------
  46. TO.0.POST == to stem 0
  47. TO.1.POST == to stem 1
  48. TO.2.POST == to stem 2
  49. TO.3.POST == to stem 3
  50. TO.4.POST == to stem 4
  51. TO.5.POST == to stem 5
  52. TO.6.POST == to stem 6
  53. TO.7.POST == to stem 7
  54. TO.8.POST == to stem 8
  55. TO.9.POST == to stem 9
  56. TO.10.POST == to stem 10
  57. TO.11.POST == to stem 11
  58. -------------------- Source stem ---------------------------------------------
  59. FROM.0 == From stem....
  60. FROM.1 == From stem....
  61. FROM.2 == From stem....
  62. FROM.3 == From stem....
  63. FROM.4 == From stem....
  64. -------------------- StemCopy('from. to.#.post ToPos 2') ---------------------
  65. TO.0.POST == to stem 0
  66. TO.1.POST == to stem 1
  67. TO.2.POST == From stem....
  68. TO.3.POST == From stem....
  69. TO.4.POST == From stem....
  70. TO.5.POST == From stem....
  71. TO.6.POST == From stem....
  72. TO.7.POST == to stem 7
  73. TO.8.POST == to stem 8
  74. TO.9.POST == to stem 9
  75. TO.10.POST == to stem 10
  76. TO.11.POST == to stem 11
  77. -------------------- StemCopy('to.#.post out.foo.bar. Tot 5') ----------------
  78. OUT.FOO.BAR.0 == to stem 0
  79. OUT.FOO.BAR.1 == to stem 1
  80. OUT.FOO.BAR.2 == From stem....
  81. OUT.FOO.BAR.3 == From stem....
  82. OUT.FOO.BAR.4 == From stem....
  83.  
  84.  
  85.  
  86. #### StemInsert(from,options) ################################################
  87. -------------------- Destination stem ----------------------------------------
  88. To stem 0
  89. To stem 1
  90. To stem 2
  91. To stem 3
  92. To stem 4
  93. To stem 5
  94. To stem 6
  95. To stem 7
  96. To stem 8
  97. To stem 9
  98. To stem 10
  99. To stem 11
  100. To stem 12
  101. To stem 13
  102. To stem 14
  103. To stem 15
  104. To stem 16
  105. To stem 17
  106. To stem 18
  107. To stem 19
  108. -------------------- Source stem ---------------------------------------------
  109. From stem....
  110. From stem....
  111. From stem....
  112. From stem....
  113. From stem....
  114. -------------------- StemInsert('from.*','to.#.post ToPos 2') ----------------
  115. To stem 0
  116. To stem 1
  117. From stem....
  118. From stem....
  119. From stem....
  120. From stem....
  121. From stem....
  122. To stem 2
  123. To stem 3
  124. To stem 4
  125. To stem 5
  126. To stem 6
  127. To stem 7
  128. To stem 8
  129. To stem 9
  130. To stem 10
  131. To stem 11
  132. To stem 12
  133. To stem 13
  134. To stem 14
  135. To stem 15
  136. To stem 16
  137. To stem 17
  138. To stem 18
  139. To stem 19
  140.  
  141.  
  142.  
  143. #### StemSort(pattern,options) ###############################################
  144. -------------------- Input stem ----------------------------------------------
  145. message
  146. Command
  147. return
  148. environment
  149. library
  150. not
  151. Function
  152. Wrong
  153. Invalid
  154. PROCEDURE
  155. THEN
  156. ELSE
  157. BREAK,
  158. statement
  159. Missing
  160. Missing
  161. Missing
  162. mismatch
  163. Invalid
  164. Incomplete
  165. -------------------- StemSort('in. out.*') -----------------------------------
  166. BREAK,
  167. Command
  168. ELSE
  169. environment
  170. Function
  171. Incomplete
  172. Invalid
  173. Invalid
  174. library
  175. message
  176. mismatch
  177. Missing
  178. Missing
  179. Missing
  180. not
  181. PROCEDURE
  182. return
  183. statement
  184. THEN
  185. Wrong
  186. -------------------- StemSort('in. out. Case') -------------------------------
  187. BREAK,
  188. Command
  189. ELSE
  190. Function
  191. Incomplete
  192. Invalid
  193. Invalid
  194. Missing
  195. Missing
  196. Missing
  197. PROCEDURE
  198. THEN
  199. Wrong
  200. environment
  201. library
  202. message
  203. mismatch
  204. not
  205. return
  206. statement
  207. -------------------- Input stem ----------------------------------------------
  208. oooooooooo
  209. ssssssssss
  210. KKKKKKKKKK
  211. qqqqqqqqqq
  212. kkkkkkkkkk
  213. aaaaaaaaaa
  214. qqqqqqqqqq
  215. MMMMMMMMMM
  216. aaaaaaaaaa
  217. gggggggggg
  218. QQQQQQQQQQ
  219. gggggggggg
  220. oooooooooo
  221. kkkkkkkkkk
  222. CCCCCCCCCC
  223. ssssssssss
  224. AAAAAAAAAA
  225. iiiiiiiiii
  226. CCCCCCCCCC
  227. AAAAAAAAAA
  228. -------------------- StemSort('in.* out. Descend NoDupes') -------------------
  229. ssssssssss
  230. qqqqqqqqqq
  231. oooooooooo
  232. MMMMMMMMMM
  233. kkkkkkkkkk
  234. iiiiiiiiii
  235. gggggggggg
  236. CCCCCCCCCC
  237. aaaaaaaaaa
  238.  
  239.  
  240.  
  241. #### StemRemove(options) #####################################################
  242. -------------------- Input stem ----------------------------------------------
  243. stem 0
  244. stem 1
  245. stem 2
  246. stem 3
  247. stem 4
  248. stem 5
  249. stem 6
  250. stem 7
  251. stem 8
  252. stem 9
  253. stem 10
  254. stem 11
  255. stem 12
  256. stem 13
  257. stem 14
  258. stem 15
  259. stem 16
  260. stem 17
  261. stem 18
  262. stem 19
  263. -------------------- StemRemove('in. FromPos 4 Tot 5') -----------------------
  264. stem 0
  265. stem 1
  266. stem 2
  267. stem 3
  268. stem 9
  269. stem 10
  270. stem 11
  271. stem 12
  272. stem 13
  273. stem 14
  274. stem 15
  275. stem 16
  276. stem 17
  277. stem 18
  278. stem 19
  279. -------------------- Input stem ----------------------------------------------
  280. in.1 1000
  281. in.2 1000
  282. in.3 1000
  283. in.4 1000
  284. in.5 1000
  285. in.6 1000
  286. in.7 1000
  287. in.8 1000
  288. in.9 1000
  289. in.10 1000
  290. in.11 1000
  291. in.12 1000
  292. in.13 1000
  293. in.14 1000
  294. in.15 1000
  295. in.16 1000
  296. in.17 1000
  297. in.18 1000
  298. in.19 1000
  299. in.20 1000
  300. -------------------- StemRemove('in.* FromPos 4 ToPos 12') -------------------
  301. in.1 1000
  302. in.2 1000
  303. in.3 1000
  304. in.13 1000
  305. in.14 1000
  306. in.15 1000
  307. in.16 1000
  308. in.17 1000
  309. in.18 1000
  310. in.19 1000
  311. in.20 1000
  312.  
  313.  
  314.  
  315. #### StemWrite(file,options) #################################################
  316. -------------------- StemWrite('T:prova','txt.') -----------------------------
  317. This is the 0th test
  318. This is the 1th test
  319. This is the 2th test
  320. This is the 3th test
  321. This is the 4th test
  322. This is the 5th test
  323. This is the 6th test
  324. This is the 7th test
  325. This is the 8th test
  326. This is the 9th test
  327. This is the 10th test
  328. This is the 11th test
  329. This is the 12th test
  330. This is the 13th test
  331. This is the 14th test
  332. This is the 15th test
  333. This is the 16th test
  334. This is the 17th test
  335. This is the 18th test
  336. This is the 19th test
  337. This is the 0th test
  338. This is the 1th test
  339. This is the 2th test
  340. This is the 3th test
  341. This is the 4th test
  342. This is the 5th test
  343. This is the 6th test
  344. This is the 7th test
  345. This is the 8th test
  346. This is the 9th test
  347. This is the 10th test
  348. This is the 11th test
  349. This is the 12th test
  350. This is the 13th test
  351. This is the 14th test
  352. This is the 15th test
  353. This is the 16th test
  354. This is the 17th test
  355. This is the 18th test
  356. This is the 19th test
  357. T:prova  Deleted
  358.  
  359.  
  360.  
  361. #### StemRead(file,options) ##################################################
  362. -------------------- StemRead('S:Startup-Sequence','txt.*') ------------------
  363. ;
  364. ;    $VER: Startup-Sequence_HD 40.3r (25.3.94)
  365. ;
  366.  
  367. C:SetPatch QUIET ;REVERSE
  368. :Repair/Enforcer/SegTracker NOROM >NIL:
  369. C:SetCPU >NIL: INST DATA CACHE BURST FASTROM
  370.  
  371. ;c:urouhack SYSIHACKSTYLE BOTTOM=11
  372. ;C:sysihack >NIL: 18 14 11 11 17 4 4 3DLOOK
  373.  
  374. BOops!
  375. c:Run >NIL: c:Play16 :SysSound LOOPS 2
  376. ;:SysPic :Classes/BootPics/windows*.ilbm 1 12 BF SO
  377.  
  378. FailAt 21
  379.  
  380. C:MakeDir RAM:t RAM:clips
  381. C:Copy :Classes/Icons/RAM.info RAM:Disk.info
  382.  
  383. Resident C:Assign PURE
  384. Resident C:Mount PURE
  385.  
  386. Assign ENV:            SYS:env
  387. c:HDenv
  388. Assign T:            RAM:t
  389. Assign CLIPS:        RAM:clips
  390. Assign PRINTERS:    DEVS:Printers
  391. Assign KEYMAPS:        DEVS:KeyMaps
  392. Assign LOCALE:        SYS:Locale
  393. Assign LIBS:        SYS:Classes ADD
  394. Assign HELP:        LOCALE:Help DEFER
  395.  
  396. C:AddDataTypes REFRESH QUIET
  397. C:Relabel RAM: RAM
  398.  
  399. C:IPrefs
  400. C:Conclip
  401.  
  402. C:Execute S:user-startup
  403.  
  404. Resident Assign REMOVE
  405. Resident Mount REMOVE
  406.  
  407. C:LoadWB
  408.  
  409. EndCli >NIL:
  410.  
  411.