home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / misc / math / mathgrap.sit / MathGrapher / card_6799.txt < prev    next >
Encoding:
Text File  |  1989-07-28  |  6.5 KB  |  338 lines

  1. -- card: 6799 from stack: in
  2. -- bmap block id: 8073
  3. -- flags: 4000
  4. -- background id: 6455
  5. -- name: Branch
  6.  
  7.  
  8. -- part 9 (field)
  9. -- low flags: 01
  10. -- high flags: 0000
  11. -- rect: left=109 top=79 right=295 bottom=387
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 0
  15. -- font id: 2
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: 
  20.  
  21.  
  22. -- part 1 (button)
  23. -- low flags: 00
  24. -- high flags: 2002
  25. -- rect: left=2 top=99 right=144 bottom=53
  26. -- title width / last selected line: 0
  27. -- icon id / first selected line: 1011 / 1011
  28. -- text alignment: 1
  29. -- font id: 0
  30. -- text size: 12
  31. -- style flags: 0
  32. -- line height: 16
  33. -- part name: Home
  34. ----- HyperTalk script -----
  35. on mouseUp
  36.   global HereOrNot
  37.   if HereOrNot is empty then
  38.   else
  39.     go to card "Sample Work" of stack "Promotion"
  40.     exit to HyperCard
  41.   end if
  42.   visual effect iris close
  43.   go home
  44. end mouseUp
  45.  
  46. on mouseEnter
  47.   set the hilite of the target to true
  48. end mouseEnter
  49.  
  50. on MouseLeave
  51.   set the hilite of the target to false
  52. end MouseLeave
  53.  
  54.  
  55.  
  56. -- part 2 (field)
  57. -- low flags: 01
  58. -- high flags: 0000
  59. -- rect: left=238 top=162 right=261 bottom=374
  60. -- title width / last selected line: 0
  61. -- icon id / first selected line: 0 / 0
  62. -- text alignment: 65535
  63. -- font id: 2
  64. -- text size: 12
  65. -- style flags: 256
  66. -- line height: 16
  67. -- part name: functions
  68.  
  69.  
  70. -- part 3 (button)
  71. -- low flags: 00
  72. -- high flags: 2000
  73. -- rect: left=263 top=162 right=179 bottom=390
  74. -- title width / last selected line: 0
  75. -- icon id / first selected line: 0 / 0
  76. -- text alignment: 1
  77. -- font id: 0
  78. -- text size: 12
  79. -- style flags: 0
  80. -- line height: 16
  81. -- part name: 
  82. ----- HyperTalk script -----
  83. on mouseEnter
  84.   set the hilite of the target to true
  85. end mouseEnter
  86.  
  87. on MouseLeave
  88.   set the hilite of the target to false
  89. end MouseLeave
  90.  
  91. on MouseUp
  92.   get the id of the target
  93.   subtract 2 from it
  94.   put line it of card field "functions" into place
  95.   push card
  96.   visual effect zoom in
  97.   go to card place
  98. end MouseUp
  99.  
  100.  
  101.  
  102. -- part 4 (button)
  103. -- low flags: 00
  104. -- high flags: 2000
  105. -- rect: left=263 top=178 right=195 bottom=390
  106. -- title width / last selected line: 0
  107. -- icon id / first selected line: 0 / 0
  108. -- text alignment: 1
  109. -- font id: 0
  110. -- text size: 12
  111. -- style flags: 0
  112. -- line height: 16
  113. -- part name: 
  114. ----- HyperTalk script -----
  115. on mouseEnter
  116.   set the hilite of the target to true
  117. end mouseEnter
  118.  
  119. on MouseLeave
  120.   set the hilite of the target to false
  121. end MouseLeave
  122.  
  123. on MouseUp
  124.   get the id of the target
  125.   subtract 2 from it
  126.   put line it of card field "functions" into place
  127.   push card
  128.   visual effect zoom in
  129.   go to card place
  130. end MouseUp
  131.  
  132.  
  133.  
  134. -- part 5 (button)
  135. -- low flags: 00
  136. -- high flags: 2000
  137. -- rect: left=263 top=194 right=211 bottom=390
  138. -- title width / last selected line: 0
  139. -- icon id / first selected line: 0 / 0
  140. -- text alignment: 1
  141. -- font id: 0
  142. -- text size: 12
  143. -- style flags: 0
  144. -- line height: 16
  145. -- part name: 
  146. ----- HyperTalk script -----
  147. on mouseEnter
  148.   set the hilite of the target to true
  149. end mouseEnter
  150.  
  151. on MouseLeave
  152.   set the hilite of the target to false
  153. end MouseLeave
  154.  
  155. on MouseUp
  156.   get the id of the target
  157.   subtract 2 from it
  158.   put line it of card field "functions" into place
  159.   push card
  160.   visual effect zoom in
  161.   go to card place
  162. end MouseUp
  163.  
  164.  
  165.  
  166. -- part 6 (button)
  167. -- low flags: 00
  168. -- high flags: 2000
  169. -- rect: left=263 top=211 right=228 bottom=390
  170. -- title width / last selected line: 0
  171. -- icon id / first selected line: 0 / 0
  172. -- text alignment: 1
  173. -- font id: 0
  174. -- text size: 12
  175. -- style flags: 0
  176. -- line height: 16
  177. -- part name: 
  178. ----- HyperTalk script -----
  179. on mouseEnter
  180.   set the hilite of the target to true
  181. end mouseEnter
  182.  
  183. on MouseLeave
  184.   set the hilite of the target to false
  185. end MouseLeave
  186.  
  187. on MouseUp
  188.   get the id of the target
  189.   subtract 2 from it
  190.   put line it of card field "functions" into place
  191.   push card
  192.   visual effect zoom in
  193.   go to card place
  194. end MouseUp
  195.  
  196.  
  197.  
  198. -- part 7 (button)
  199. -- low flags: 00
  200. -- high flags: 2000
  201. -- rect: left=263 top=227 right=244 bottom=390
  202. -- title width / last selected line: 0
  203. -- icon id / first selected line: 0 / 0
  204. -- text alignment: 1
  205. -- font id: 0
  206. -- text size: 12
  207. -- style flags: 0
  208. -- line height: 16
  209. -- part name: 
  210. ----- HyperTalk script -----
  211. on mouseEnter
  212.   set the hilite of the target to true
  213. end mouseEnter
  214.  
  215. on MouseLeave
  216.   set the hilite of the target to false
  217. end MouseLeave
  218.  
  219. on MouseUp
  220.   get the id of the target
  221.   subtract 2 from it
  222.   put line it of card field "functions" into place
  223.   push card
  224.   visual effect zoom in
  225.   go to card place
  226. end MouseUp
  227.  
  228.  
  229.  
  230. -- part 8 (button)
  231. -- low flags: 00
  232. -- high flags: 2000
  233. -- rect: left=263 top=243 right=260 bottom=390
  234. -- title width / last selected line: 0
  235. -- icon id / first selected line: 0 / 0
  236. -- text alignment: 1
  237. -- font id: 0
  238. -- text size: 12
  239. -- style flags: 0
  240. -- line height: 16
  241. -- part name: 
  242. ----- HyperTalk script -----
  243. on mouseEnter
  244.   set the hilite of the target to true
  245. end mouseEnter
  246.  
  247. on MouseLeave
  248.   set the hilite of the target to false
  249. end MouseLeave
  250.  
  251. on MouseUp
  252.   get the id of the target
  253.   subtract 2 from it
  254.   put line it of card field "functions" into place
  255.   push card
  256.   visual effect zoom in
  257.   go to card place
  258. end MouseUp
  259.  
  260.  
  261.  
  262. -- part 10 (button)
  263. -- low flags: 00
  264. -- high flags: A002
  265. -- rect: left=2 top=145 right=193 bottom=53
  266. -- title width / last selected line: 0
  267. -- icon id / first selected line: 21060 / 21060
  268. -- text alignment: 1
  269. -- font id: 0
  270. -- text size: 12
  271. -- style flags: 0
  272. -- line height: 16
  273. -- part name: Help
  274. ----- HyperTalk script -----
  275. on mouseUp
  276.   visual zoom out to white
  277.   domenu "Help"
  278. end mouseUp
  279.  
  280. on mouseEnter
  281.   set the hilite of the target to true
  282. end mouseEnter
  283.  
  284. on MouseLeave
  285.   set the hilite of the target to false
  286. end MouseLeave
  287.  
  288.  
  289.  
  290. -- part 11 (button)
  291. -- low flags: 00
  292. -- high flags: A002
  293. -- rect: left=2 top=194 right=240 bottom=53
  294. -- title width / last selected line: 0
  295. -- icon id / first selected line: 2478 / 2478
  296. -- text alignment: 1
  297. -- font id: 0
  298. -- text size: 12
  299. -- style flags: 0
  300. -- line height: 16
  301. -- part name: Aboutâ•”
  302. ----- HyperTalk script -----
  303. on mouseUp
  304.   visual zoom out to white
  305.   push card
  306.   go to card "About"
  307. end mouseUp
  308.  
  309. on mouseEnter
  310.   set the hilite of the target to true
  311. end mouseEnter
  312.  
  313. on MouseLeave
  314.   set the hilite of the target to false
  315. end MouseLeave
  316.  
  317.  
  318.  
  319. -- part contents for card part 2
  320. ----- text -----
  321. Polynomials
  322. Trigonometric
  323. Logarithmic
  324. Exponential
  325. Hyperbolic
  326. Custom
  327.  
  328. -- part contents for card part 9
  329. ----- text -----
  330. Before you are able to graph something you must first choose an equation to plot.  Below are some broad categories to choose from.  The "Custom made" category allows you to combine
  331. one or
  332. more of
  333. the broader
  334. families of
  335. functions.
  336. Just click
  337. on the type
  338. of function which you would like to plot.