home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / hypercrd / xcmd / prctclxf.sit / DemoStack / card_3017.txt < prev    next >
Text File  |  1990-08-28  |  4KB  |  127 lines

  1. -- card: 3017 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 2685
  5. -- name: Title
  6. ----- HyperTalk script -----
  7. on openCard
  8.   hide message
  9.   pass openCard
  10. end openCard
  11.  
  12.  
  13.  
  14.  
  15. -- part 1 (field)
  16. -- low flags: 01
  17. -- high flags: 2004
  18. -- rect: left=254 top=189 right=315 bottom=508
  19. -- title width / last selected line: 0
  20. -- icon id / first selected line: 0 / 0
  21. -- text alignment: 0
  22. -- font id: 3
  23. -- text size: 10
  24. -- style flags: 0
  25. -- line height: 13
  26. -- part name: Copyright
  27.  
  28.  
  29. -- part 7 (button)
  30. -- low flags: 00
  31. -- high flags: 0001
  32. -- rect: left=221 top=317 right=342 bottom=250
  33. -- title width / last selected line: 0
  34. -- icon id / first selected line: 0 / 0
  35. -- text alignment: 1
  36. -- font id: 0
  37. -- text size: 12
  38. -- style flags: 0
  39. -- line height: 16
  40. -- part name: Cover
  41.  
  42.  
  43. -- part 8 (button)
  44. -- low flags: 00
  45. -- high flags: 0001
  46. -- rect: left=4 top=317 right=342 bottom=33
  47. -- title width / last selected line: 0
  48. -- icon id / first selected line: 0 / 0
  49. -- text alignment: 1
  50. -- font id: 0
  51. -- text size: 12
  52. -- style flags: 0
  53. -- line height: 16
  54. -- part name: Cover
  55.  
  56.  
  57. -- part 9 (field)
  58. -- low flags: 01
  59. -- high flags: 2004
  60. -- rect: left=283 top=71 right=149 bottom=483
  61. -- title width / last selected line: 0
  62. -- icon id / first selected line: 0 / 0
  63. -- text alignment: 1
  64. -- font id: 0
  65. -- text size: 12
  66. -- style flags: 0
  67. -- line height: 16
  68. -- part name: 
  69.  
  70.  
  71. -- part contents for background part 9
  72. ----- text -----
  73. DemoStack 0.9
  74.  
  75. -- part contents for background part 1
  76. ----- text -----
  77. Title
  78.  
  79. -- part contents for background part 12
  80. ----- text -----
  81. Card #1
  82.  
  83. -- part contents for card part 1
  84. ----- text -----
  85. Copyright ┬⌐ 1990 Ari I. Halberstadt
  86.  
  87. The ArrayList, BinaryTree, and Research external functions are free. For details see the sections titled ΓÇ£CopyrightΓÇ¥, ΓÇ£DistributionΓÇ¥, and ΓÇ£No WarrantyΓÇ¥.
  88.  
  89. Portions of the object code are Copyright ┬⌐ 1990 Symantec Corporation.
  90.  
  91.  
  92.  
  93. -- part contents for background part 13
  94. ----- text -----
  95. Description
  96.  
  97. -- part contents for background part 14
  98. ----- text -----
  99.  
  100. This is a demonstration stack for three XFCNs: ArrayList, BinaryTree, and Research. These programs are free and source code in C and complete manuals for each of these XFCNs are included. For distribution terms see the appropriate sections.
  101.  
  102. Use the "Index" button at the bottom of the cards to go to the index. This is the easiest way to navigate through this stack.
  103.  
  104. The remainder of this field gives brief descriptions of each of the programs.
  105.  
  106. ΓÇó ArrayList implements a general purpose list data structure. Lists are stored as arrays, and basic list operations are provided on the arrays. Operations implemented include insert, delete, find, and sort, stack operations, and set operations. ArrayList was written to provide a fairly fast way of maintaining ordered lists in HyperTalk scripts. 
  107.  
  108. ΓÇó BinaryTree implements a binary tree data structure. Each node in the tree is refered to by a key, and may also contain an extra datum field, which can store any additional data. Operations on the tree include insertion, deletion, tree traversal (in-order, preorder, postorder, levelorder), as well as range searching.
  109.  
  110. ΓÇó Research is a Regular Expression Searcher. The set of regular expressions implemented is based on the UNIX egrep program. Output format is flexible, and may be in a modified chunk form which facilitates further processing. Numerous options control the search and the output format. A very fast string searching algorithm is used for patterns which are not regular expressions.
  111.  
  112. ΓÇó ErrorString is used to convert an error code returned by one of the above XFCNs into a short descriptive string.
  113.  
  114. ΓÇó ErrorName is related to ErrorString, and is used to get the name of an error. Error names are easier to use than error numbers.
  115.  
  116. NOTES:
  117.  
  118. 1. You should know how to use HyperTalk (HyperCard's scripting language) before using this stack. Some knowledge of elementary programming (arrays and trees especially) will be useful.
  119.  
  120. 2. For precise details on how to use the programs you must read the accompanying manuals.
  121.  
  122.  
  123.  
  124. -- part contents for card part 9
  125. ----- text -----
  126. STOP!
  127. This stack won't make much sense unless you read the manuals.