home *** CD-ROM | disk | FTP | other *** search
/ Chip Multimedia 1993 January / chip_mm_1.iso / text_etc / calc.tbk (.txt) next >
Encoding:
Asymetrix ToolBook File  |  1991-07-04  |  92.3 KB  |  2,670 lines

  1. EaP|=
  2. Rechner
  3. pOldSize
  4. 4896,3744
  5. u\zp 
  6. helvetica
  7. pOldSize
  8. 4904,3700
  9. housekeeping
  10. cleanup
  11. display
  12.  controls displaying 
  13. numbers
  14. calculate
  15. 'calculation procedures
  16. Bmsgs 
  17. M icon 
  18. unselect_all
  19. "unselects" selected 
  20. 8icons
  21. intercepts tabs
  22. translates numeric keypad strokes 
  23. calculatepayment
  24. does calculations 
  25. payments dialog box
  26.  opening 
  27. --modification 
  28. going 
  29.  (thru 
  30. "Warning, editing scripts 
  31. }may disable 
  32. 8." \
  33. f"Continue" 
  34. "Cancel"
  35. 8." \
  36. "Reader" 
  37. 4memory, store
  38. sysChangesdb 
  39. zmenus
  40. c"Page" 
  41. c"Text" 
  42. c"Edit" 
  43. c"File" 
  44. e"Open" 
  45. e"Exit" 
  46. [displays 
  47. B"clear_all"
  48. B"clear_tape"
  49. default
  50. , checks 
  51. overflow, multiple 
  52. --points, sets 
  53. Jkey value 
  54. generic 
  55. 4last_key
  56. ") >= 20 
  57. --append 
  58. --replace 
  59. keystroke
  60. --This function performs 
  61. If no values had been entered 
  62. --saved, 
  63. they're repeatedly hitting 
  64. same operator 
  65. , no action
  66. taken.
  67. If one 
  68. passed 
  69. kno other 
  70. If two 
  71.  are calculated 
  72. previously stored 
  73. their 
  74. --result 
  75. displayed 
  76. scrollable 
  77. val1. The "+" 
  78.  new_op 
  79. --ignore 
  80.  hits on 
  81. "+-x/") 
  82. "+-x/")) 
  83. "math"
  84. --special 
  85. equal sign 
  86. x"mr"
  87. CRLF & "
  88. " && "T"
  89. " && 
  90. --only 
  91.     operation
  92. h    " && "T" \
  93. handler 
  94. If a 
  95. --calculator 
  96. equivalent 
  97. pressed, a 
  98. Emessage 
  99. sent 
  100. corresponding 
  101. >= 48 
  102. <= 57
  103. - 48)
  104. based on 
  105. fields
  106. calculate_payment
  107. Zloan_amount, interest_rate, 
  108. number_payments, wrk
  109. typed 
  110. valid 
  111.  <= 0) 
  112.  <= 0) 
  113.  <= 0)
  114. "One 
  115. more 
  116. invalid."
  117. "Invalid 
  118. %"$0.00"
  119. Loan 
  120. /1200 
  121. Interest 
  122.  & "%" 
  123. Number 
  124. --figure 
  125.  per 
  126. %"0.00"
  127. "amount_per_payment"
  128. Amount 
  129. $" & 
  130. total 
  131.  paid 
  132. %"0.00"
  133. "total_interest_paid"
  134. Total 
  135. $" & 
  136. vateinstance
  137. enterbook
  138. initialize
  139. display
  140. author
  141. calculate
  142. leavebook
  143. keyup
  144. keyChar
  145. reader
  146. keydown
  147. activateinstance
  148. calculate_payment
  149. reader
  150. initialize
  151. author
  152. Warning, editing scripts or altering objects may disable this book.
  153. Continue
  154. Cancel
  155. enterbook
  156. Warning, editing scripts or altering objects may disable this book.
  157. Continue
  158. Reader
  159. Cancel
  160. cancel
  161. continue
  162. reader
  163. initialize
  164. leavebook
  165. activateinstance
  166. sizetopage
  167. initialize
  168. buttonup
  169. clear_all
  170. buttonup
  171. clear_tape
  172. sizetopage
  173. default
  174. memory
  175. store
  176. display
  177. number
  178. display
  179. display
  180. display
  181. display
  182. number
  183. last_key
  184. value
  185. calculate
  186. number
  187. ------------
  188. display
  189. display
  190. display
  191. display
  192. display
  193. display
  194. display
  195. display
  196. display
  197. display
  198. display
  199. ------------
  200. display
  201. display
  202. last_key
  203. store
  204. new_op
  205. keyup
  206. keyChar
  207. LBdisplay
  208. LBdisplay
  209. calculate
  210. calculate
  211. calculate
  212. calculate
  213. calculate
  214. keydown
  215. calculate_payment
  216. loan_amount
  217. interest_rate
  218. number_payments
  219. One or more of the values entered are invalid.
  220. Invalid value entered.
  221. $0.00
  222. Loan amount:
  223. Interest rate:
  224. Number of payments:
  225. amount_per_payment
  226. Amount per payment:
  227. total_interest_paid
  228. Total interest paid:
  229. loan_amount
  230. interest_rate
  231. number_payments
  232. loan_amount
  233. interest_rate
  234. number_payments
  235. loan_amount
  236. interest_rate
  237. number_payments
  238. "_payments
  239. :PRINTLAYOUT
  240. .#stem
  241. D#pOldSize
  242. $.#4904,3700
  243. 0$stem
  244. $stem
  245. payments dialog box
  246.  opening 
  247. --modification 
  248. going 
  249.  (thru 
  250. "Warning, editing scripts 
  251. }may disable 
  252. 8." \
  253. f"Continue" 
  254. "Cancel"
  255. 8." \
  256. "Reader" 
  257. 4memory, store
  258. sysChangesdb 
  259. zmenus
  260. c"Page" 
  261. c"Text" 
  262. c"Edit" 
  263. c"File" 
  264. e"Open" 
  265. e"Exit" 
  266. [displays 
  267. B"clear_all"
  268. B"clear_tape"
  269. default
  270. , checks 
  271. overflow, multiple 
  272. --points, sets 
  273. Jkey value 
  274. generic 
  275. 4last_key
  276. ") >= 20 
  277. --append 
  278. --replace 
  279. keystroke
  280. --This function performs 
  281. If no values had been entered 
  282. --saved, 
  283. they're repeatedly hitting 
  284. same operator 
  285. , no action
  286. taken.
  287. If one 
  288. passed 
  289. kno other 
  290. If two 
  291.  are calculated 
  292. previously stored 
  293. their 
  294. --result 
  295. displayed 
  296. scrollable 
  297. val1. The "+" 
  298.  new_op 
  299. --ignore 
  300.  hits on 
  301. "+-x/") 
  302. "+-x/")) 
  303. "math"
  304. --special 
  305. equal sign 
  306. x"mr"
  307. CRLF & "
  308. " && "T"
  309. " && 
  310. --only 
  311. #    operation
  312. o    " && "T" \
  313. handler 
  314. If a 
  315. --calculator 
  316. equivalent 
  317. pressed, a 
  318. Emessage 
  319. sent 
  320. corresponding 
  321. >= 48 
  322. <= 57
  323. - 48)
  324. based on 
  325. fields
  326. calculate_payment
  327. Zloan_amount, interest_rate, 
  328. number_payments, wrk
  329. typed 
  330. valid 
  331.  <= 0) 
  332.  <= 0) 
  333.  <= 0)
  334. "One 
  335. more 
  336. invalid."
  337. "Invalid 
  338. %"$0.00"
  339. Loan 
  340. /1200 
  341. Interest 
  342.  & "%" 
  343. Number 
  344. --figure 
  345.  per 
  346. %"0.00"
  347. "amount_per_payment"
  348. Amount 
  349. $" & 
  350. total 
  351.  paid 
  352. %"0.00"
  353. "total_interest_paid"
  354. Total 
  355. $" & 
  356. vateinstance
  357. enterbook
  358. initialize
  359. display
  360. author
  361. calculate
  362. leavebook
  363. keyup
  364. keyChar
  365. reader
  366. keydown
  367. activateinstance
  368. calculate_payment
  369. reader
  370. initialize
  371. author
  372. Warning, editing scripts or altering objects may disable this book.
  373. Continue
  374. Cancel
  375. enterbook
  376. Warning, editing scripts or altering objects may disable this book.
  377. Continue
  378. Reader
  379. Cancel
  380. cancel
  381. continue
  382. reader
  383. initialize
  384. leavebook
  385. activateinstance
  386. sizetopage
  387. initialize
  388. buttonup
  389. clear_all
  390. buttonup
  391. clear_tape
  392. sizetopage
  393. default
  394. memory
  395. store
  396. display
  397. number
  398. display
  399. display
  400. display
  401. display
  402. number
  403. last_key
  404. value
  405. calculate
  406. number
  407. ------------
  408. display
  409. display
  410. display
  411. display
  412. display
  413. display
  414. display
  415. display
  416. display
  417. display
  418. display
  419. ------------
  420. display
  421. display
  422. last_key
  423. store
  424. new_op
  425. keyup
  426. keyChar
  427. LBdisplay
  428. LBdisplay
  429. calculate
  430. calculate
  431. calculate
  432. calculate
  433. calculate
  434. keydown
  435. calculate_payment
  436. loan_amount
  437. interest_rate
  438. number_payments
  439. One or more of the values entered are invalid.
  440. Invalid value entered.
  441. $0.00
  442. Loan amount:
  443. Interest rate:
  444. Number of payments:
  445. amount_per_payment
  446. Amount per payment:
  447. total_interest_paid
  448. Total interest paid:
  449. loan_amount
  450. interest_rate
  451. number_payments
  452. $:REPORTDATA
  453. _"AFB gives warning about altering 
  454. ", sends initialize
  455. housekeeping
  456. cleanup
  457. Bmsgs control icon 
  458. unselect_all
  459. "unselects" selected 
  460. 8icons
  461. Utyping 
  462. Slabel fields
  463. determines 
  464. aligning 
  465. sizefield
  466. sizes 
  467. W during 
  468.  opening 
  469. --issue 
  470. making 
  471. "Warning, editing scripts 
  472. }may disable 
  473. 8." \
  474. f"Continue" 
  475. "Cancel"
  476. 8." \
  477. "Reader" 
  478. bookshelf 
  479. they're quitting 
  480. can be found
  481. 8"bookshlf.tbk"
  482. activateinstance
  483. 4memory, currformat, store
  484. sysChangesdb 
  485. c"Page" 
  486. c"Text" 
  487. c"Edit" 
  488. c"File" 
  489. e"Open" 
  490. e"Exit" 
  491. B"clear_all"
  492. B"clear_tape"
  493. default
  494. --controls 
  495. display 
  496. numbers, checks 
  497. overflow, multiple 
  498. --points, sets 
  499. value 
  500. generic 
  501. 4last_key, 
  502. too many 
  503. decimals
  504. --append 
  505. keystroke
  506. --This function performs calculations.
  507. If no values had been entered 
  508. --saved, 
  509. repeatedly hitting 
  510. same operator 
  511. no action
  512. taken.
  513. If one 
  514. passed 
  515. eno other 
  516. If two 
  517.  are calculated 
  518. previously stored 
  519. their 
  520. --result 
  521. displayed 
  522. scrollable 
  523. val1. The "+" 
  524.  new_op 
  525. that triggered 
  526. , op, 
  527. --ignore 
  528.  hits on 
  529. x"mr"
  530. CRLF & "
  531. " && "T"
  532. " && 
  533.  --only 
  534. " && "T" \
  535. ") > 21
  536. "-e " 
  537. handler intercepts 
  538. d    strokes 
  539. u    pad.
  540. If a 
  541. --calculator 
  542.     equivalent 
  543. pressed, a 
  544. Emessage 
  545. sent 
  546. corresponding 
  547.     >= 48 
  548.     <= 57
  549.     - 48)
  550.  based on 
  551. payments 
  552. calculate_payment
  553. Zloan_amount, interest_rate, 
  554. number_payments, wrk
  555. typed 
  556. valid 
  557.  <= 0) 
  558.  <= 0) 
  559.  <= 0)
  560. "One 
  561. more 
  562. invalid."
  563. "Invalid 
  564. %"$0.00"
  565. Loan 
  566. /1200 
  567. Interest 
  568.  & "%" 
  569. Number 
  570. --figure 
  571.  per 
  572. %"0.00"
  573. "amount_per_payment"
  574. Amount 
  575. $" & 
  576. total 
  577.  paid 
  578. %"0.00"
  579. "total_interest_paid"
  580. Total 
  581. $" & 
  582. activateinstance
  583. initialize
  584. author
  585. display
  586. leavebook
  587. calculate
  588. keyup
  589. reader
  590. keyChar
  591. keydown
  592. enterbook
  593. calculate_payment
  594. reader
  595. initialize
  596. author
  597. Warning, editing scripts or altering objects may disable this book.
  598. Continue
  599. Cancel
  600. enterbook
  601. Warning, editing scripts or altering objects may disable this book.
  602. Continue
  603. Reader
  604. Cancel
  605. cancel
  606. continue
  607. reader
  608. initialize
  609. leavebook
  610. bookshlf.tbk
  611. bookshlf.tbk
  612. activateinstance
  613. sizetopage
  614. initialize
  615. buttonup
  616. clear_all
  617. buttonup
  618. clear_tape
  619. sizetopage
  620. default
  621. memory
  622. currformat
  623. store
  624. display
  625. number
  626. display
  627. display
  628. display
  629. number
  630. last_key
  631. value
  632. calculate
  633. number
  634. ------------
  635. display
  636. display
  637. display
  638. display
  639. display
  640. display
  641. display
  642. display
  643. display
  644. display
  645. display
  646. ------------
  647. display
  648. display
  649. display
  650. display
  651. last_key
  652. store
  653. new_op
  654. keyup
  655. keyChar
  656. LBdisplay
  657. LBdisplay
  658. calculate
  659. calculate
  660. calculate
  661. calculate
  662. calculate
  663. keydown
  664. calculate_payment
  665. loan_amount
  666. interest_rate
  667. number_payments
  668. One or more of the values entered are invalid.
  669. Invalid value entered.
  670. $0.00
  671. Loan amount:
  672. Interest rate:
  673. Number of payments:
  674. amount_per_payment
  675. Amount per payment:
  676. total_interest_paid
  677. Total interest paid:
  678. loan_amount
  679. interest_rate
  680. number_payments
  681. `pOldSize
  682. `5184,4320
  683. >`pOldSize
  684. (`4904,3700
  685. Last revision 
  686. Handlers 
  687.  simulates entering the 
  688.  gives warning about altering 
  689. ", sends initialize
  690. housekeeping
  691. cleanup
  692. bookshelf
  693. returns 
  694. display
  695.  controls displaying 
  696. numbers
  697. calculate
  698. 'calculation procedures
  699. Bmsgs 
  700. M icon 
  701. unselect_all
  702. "unselects" selected 
  703. 8icons
  704. intercepts tabs
  705. translates numeric keypad strokes 
  706. calculatepayment
  707. does calculations 
  708. payments dialog box
  709. handles printing 
  710. calculator
  711. invokes 
  712.  help
  713. --modification 
  714. going 
  715.  (thru 
  716. "Warning:
  717. Editing scripts 
  718. }may disable 
  719. 8." \
  720. f"Continue" 
  721. "Cancel"
  722. 8." \
  723. "Reader"
  724. sysChangesdb 
  725. togglestatus
  726. 4memory, store
  727. X"user"
  728. bringWindowToTop(
  729. zmenus
  730. c"Page" 
  731. c"Text" 
  732. zfile 
  733. c"File" 
  734. e"&Open..." 
  735. e"Boo&
  736. e"E&xit" 
  737. e"Undo" 
  738. e"Cut" 
  739. e"Copy" 
  740. e"Paste" 
  741. e"Clear" 
  742. e"SelectAll" 
  743.  Help" 
  744. [displays 
  745. B"clear_all" 
  746. B"clear_tape" 
  747. default
  748. Bookshelf
  749.  ToolBook 
  750. M"bookshlf.tbk"
  751.  toolbook 
  752. bringwindowtotop(
  753. (bookmark 
  754. "The 
  755.  was 
  756. xfound.
  757. Please 
  758. your current working directory."
  759. , checks 
  760. overflow, multiple 
  761. --points, sets 
  762. Jkey value 
  763. generic 
  764. 4last_key
  765. ") >= 20 
  766. continued 0's
  767. " = 0 
  768.  "." 
  769. --replace 
  770. " = 0 
  771. --append 
  772. keystroke
  773. --This function performs 
  774. If no values had been entered 
  775. --saved, 
  776. they're repeatedly hitting 
  777. 3    same operator 
  778. , no action
  779. taken.
  780. If one 
  781. l    passed 
  782. kno other 
  783. If two 
  784.  are calculated 
  785.     previously stored 
  786. their 
  787. --result 
  788. displayed 
  789.     scrollable 
  790. val1. 
  791.  new_op 
  792. , op, savekey
  793. --ignore 
  794.  hits on 
  795. "+-x/") 
  796. "+-x/"))
  797. --special 
  798. equal sign 
  799. x"mr" 
  800. x"math"
  801. CRLF & "
  802. TAPE "T"
  803. have 
  804. dividing 
  805. --only 
  806. operation
  807. " = 0
  808. "Can't divide 
  809. under/
  810. "Overflow"
  811. c"underflow"
  812. "Underflow"
  813. handler 
  814. If a 
  815. equivalent 
  816. pressed, a 
  817. Emessage 
  818. sent 
  819. corresponding 
  820. >= 48 
  821. <= 57
  822. - 48)
  823. based on 
  824. fields
  825. calculate_payment
  826. Zloan_amount, interest_rate, 
  827. number_payments, wrk
  828. typed 
  829. %"$0.00"
  830. Loan 
  831. /1200 
  832. Interest 
  833.  & "%" 
  834. Number 
  835. --figure 
  836.  per 
  837. %"0.00"
  838. "amount_per_payment"
  839. Amount 
  840. $" & 
  841. total 
  842.  paid 
  843. %"0.00"
  844. "total_interest_paid"
  845. Total 
  846. $" & 
  847. fType
  848. " && 
  849. "Tape"
  850. 2) - 5
  851. calculatorHelp
  852. 8700, 4320
  853. chelp tl
  854. alize
  855. Bookshelf
  856. author
  857. display
  858. leavebook
  859. calculate
  860. keyup
  861. reader
  862. keyChar
  863. togglestatus
  864. keydown
  865. calculate_payment
  866. enterbook
  867. calculatorHelp
  868. initialize
  869. chelp
  870. reader
  871. sizetopage
  872. author
  873. Warning:  Editing scripts or altering objects may disable this book.
  874. Continue
  875. Cancel
  876. Cancel
  877. warning
  878. enterbook
  879. initialize
  880. Warning:  Editing scripts or altering objects may disable this book.
  881. Continue
  882. Reader
  883. continue
  884. sizetopage
  885. warning
  886. leavebook
  887. togglestatus
  888. initialize
  889. bringWindowToTop
  890. &File
  891. &Open...
  892. Boo&kshelf
  893. E&xit
  894. Paste
  895. Clear
  896. SelectAll
  897. &Calculator Help
  898. buttonup
  899. clear_all
  900. buttonup
  901. clear_tape
  902. default
  903. memory
  904. store
  905. Bookshelf
  906. send sizetopage
  907. bookshlf.tbk
  908. sysWindowHandle
  909. toolbook
  910. bookshlf.tbk
  911. bringwindowtotop
  912. bookshlf.tbk
  913. bookshlf.tbk
  914. bookmark
  915. bookshlf.tbk
  916. The Bookshelf was not found.  Please copy bookshlf.tbk to your current working directory.
  917. ToolBook
  918. display
  919. number
  920. display
  921. display
  922. display
  923. display
  924. display
  925. display
  926. display
  927. display
  928. display
  929. number
  930. last_key
  931. value
  932. calculate
  933. number
  934. ------------
  935. display
  936. display
  937. display
  938. display
  939. display
  940. display
  941. display
  942. display
  943. Can't divide by 0.
  944. buttonup
  945. clear_all
  946. display
  947. display
  948. overflow
  949. Overflow
  950. underflow
  951. Underflow
  952. buttonup
  953. clear_all
  954. ------------
  955. display
  956. last_key
  957. store
  958. savekey
  959. new_op
  960. keyup
  961. keyChar
  962. LBdisplay
  963. LBdisplay
  964. calculate
  965. calculate
  966. calculate
  967. calculate
  968. calculate
  969. keydown
  970. calculate_payment
  971. loan_amount
  972. Please enter a loan amount.
  973. loan_amount
  974. interest_rate
  975. Please enter an interest rate.
  976. interest_rate
  977. number_payments
  978. Please enter the number of payments.
  979. number_payments
  980. loan_amount
  981. interest_rate
  982. number_payments
  983. number_payments
  984. number_payments
  985. $0.00
  986. Loan amount:
  987. Interest rate:
  988. Number of payments:
  989. amount_per_payment
  990. Amount per payment:
  991. total_interest_paid
  992. Total interest paid:
  993. loan_amount
  994. interest_rate
  995. number_payments
  996. display
  997. fType
  998. calculatorHelp
  999. sizetopage
  1000. loan_amount
  1001. interest_rate
  1002. number_payments
  1003. chelp
  1004. m\D|D|
  1005. f%P#F$l
  1006. \D|D|
  1007. \D|D|
  1008. BUTTONDOWN fLoc
  1009. 4last_key
  1010. ZvText, tl, t
  1011. tl < 1
  1012. strStdNum(
  1013. sysCurrency
  1014. ftext() 
  1015. "display" 
  1016. strLocalNum(
  1017. "mouse"
  1018. BUTTONDOWN
  1019. BUTTONDOWN
  1020. textFromPoint
  1021. strStdNum
  1022. display
  1023. ftext
  1024. strLocalNum
  1025. mouse
  1026. vText
  1027. last_key
  1028. clear_tape
  1029. CRLF & 
  1030. "tape" 
  1031. buttonup
  1032. buttonup
  1033. schen
  1034. Print
  1035. "tape"
  1036. strPrintErr()
  1037. buttonup
  1038. buttonup
  1039. strPrintErr
  1040. Drucken
  1041. layert
  1042. MainCalc
  1043. 998 -
  1044. 123 MR
  1045. 896 /
  1046. 6632,123 MR
  1047. 896 M+
  1048. 896 /
  1049. ------------
  1050. 9,05050505050505 
  1051. 66 M+
  1052. 962 MR99999999 cos
  1053. 0,7313537016191706 atan
  1054. 36,1800093469185 ln
  1055. 3,588506738312016 runden
  1056. 4 sin
  1057. 6,97564737441253e-002 sinh
  1058. 6,981305961022392e-002 tan
  1059. 1,218471203406627e-003 tanh
  1060. 1,218470600396929e-003 Wurzel
  1061. 88 Wurzel
  1062. 88 Wurzel
  1063. 5578 wurzel
  1064. 552,3189 wurzel
  1065. ,001456 /
  1066. ------------
  1067. 4,55e-005 
  1068. 4,55e-005 x
  1069. ,109865 =
  1070. ------------
  1071. 4,9988575e-006 
  1072. 4,9988575e-006 x
  1073. ------------
  1074. ------------
  1075. ------------
  1076. 4664 
  1077. 4664 x
  1078. ------------
  1079. 303160 
  1080. -------
  1081. 4,849363917273364e-011 
  1082. -64 sinh
  1083. -3,117574540405808e+027 tan
  1084. ------------
  1085. 571266666660954 =
  1086. ------------
  1087. 1,985510492248247e+103 
  1088. 1,985510492248247e+103 M+
  1089. 1,985510492248247e+103 x
  1090. 571266666660954 MR
  1091. 571266666660954 =
  1092. ------------
  1093. 1,134255960527006e+118 
  1094. 1,134255960527006e+118 M+
  1095. 1,134255960527006e+118 x
  1096. 571266666660954 MR
  1097. 571266666660954 =
  1098. ------------
  1099. 6,479626217105813e+132 
  1100. 6,479626217105813e+132 M+
  1101. 571266666660954 MR
  1102. 4memory
  1103. buttonup
  1104. buttonup
  1105. memory
  1106. 4last_key, memory
  1107. TAPE "M+"
  1108. Hstrstdnum(
  1109. "display") --
  1110. buttonup
  1111. buttonup
  1112. display
  1113. strstdnum
  1114. last_key
  1115. memory
  1116. 4memory, last_key
  1117. ftext() 
  1118. "display"
  1119. TAPE "MR"
  1120. "mr" 
  1121. buttonup
  1122. buttonup
  1123. display
  1124. ftext
  1125. memory
  1126. last_key
  1127. 4last_key, memory
  1128. TAPE "M-"
  1129. HstrStdNum(
  1130. "display") --subtract 
  1131. buttonup
  1132. buttonup
  1133. display
  1134. strStdNum
  1135. last_key
  1136. memory
  1137. calculate (
  1138. buttonup
  1139. buttonup
  1140. calculate
  1141. 4last_key
  1142. "math" 
  1143. display (
  1144. buttonup
  1145. buttonup
  1146. LBdisplay
  1147. last_key
  1148. decimal
  1149. clear
  1150. 4last_key
  1151. "display" 
  1152. "mainCalc"
  1153. Jkeystroke
  1154. buttonup
  1155. buttonup
  1156. display
  1157. mainCalc
  1158. last_key
  1159. clear_all
  1160. 4theStore, op, last_key
  1161. --initialize 
  1162. temp value
  1163. operator
  1164. "MainCalc"
  1165. buttonup
  1166. buttonup
  1167. buttonup
  1168. clear
  1169. MainCalc
  1170. theStore
  1171. last_key
  1172. plusminusbtn
  1173. ftext() 
  1174. "display" * - 1 
  1175. buttonup
  1176. buttonup
  1177. display
  1178. ftext
  1179. display
  1180. ftext
  1181. Payments
  1182. buttonup
  1183. buttonup
  1184. Zahlungen
  1185. math_functions
  1186. runden
  1187. wurzel 2
  1188. display
  1189. Sets 
  1190. formatted value
  1191. fText 
  1192. fValue
  1193. strLocalNum(
  1194. ftext 
  1195. strStdNum(
  1196. ftext
  1197. fText
  1198. fText
  1199. strLocalNum
  1200. fValue
  1201. ftext
  1202. strStdNum
  1203. 03280505050505059
  1204. calcHelp
  1205. N I!h$
  1206. --Copyright 
  1207.  1991
  1208. Asymetrix Corporation
  1209. erteilt Ihnen die Erlaubnis, 
  1210. dieser Anwendung enthaltenen 
  1211. --einzelnen Objekte und Scripten 
  1212. Ihre eigenen Anwendungen zu kopieren 
  1213. diesen zu verwenden. Es ist 
  1214. jedoch nicht gestattet, das
  1215. --ganze Buch oder gr
  1216. ] Teile davon zu 
  1217.  eigenes
  1218. --Produkt zu vertreiben.
  1219. h Urheberrecht 
  1220.  Originalelementen 
  1221. . Enth
  1222. lt Ihr 
  1223. kopiert wurden, mu
  1224. t es folgenden Hinweis 
  1225. fallen unter das 
  1226. 7zur Sprachneutralit
  1227. t: Damit 
  1228. leichter 
  1229. bersetzt
  1230. --werden kann, 
  1231. n vom 
  1232.  kommenden Textzeichenfolgen, 
  1233. --Leser gezeigt 
  1234. Funktionen gebracht, 
  1235. sich 
  1236. diesem Buchscript 
  1237. --unten befinden. Die Namen 
  1238. Nbeginnen 
  1239. Buchstaben
  1240. --"str".
  1241. ,:         Jim Gallant
  1242. Q:    3/27/91
  1243. International version, 
  1244. 3Rivera 4/91, 
  1245. Jchange 4/22/91
  1246. initialize
  1247. sysChangesdb 
  1248. --cleanup 
  1249. togglestatus
  1250. 4memory, theStore
  1251. X"user"
  1252. bringWindowToTop(
  1253. zmenus
  1254. cstrPage() 
  1255. cstrText() 
  1256. strSelectPage() 
  1257. estrImport() 
  1258. estrExport() 
  1259. e strCalculatorHelp() alias "
  1260. cstrHelp() 
  1261. [displays 
  1262. up formats
  1263. B"clear_all" 
  1264. "mainCalc"
  1265. B"clear_tape" 
  1266. "math_functions" 
  1267. setupFormats
  1268. setupNumber
  1269. default
  1270. --controls 
  1271. numbers, checks 
  1272. overflow, multiple 
  1273. --points, sets 
  1274. Jkey value 
  1275. generic 
  1276. 4last_key
  1277. ZvNum
  1278. fText() 
  1279. :) >= 16 
  1280. sysDecimal 
  1281. continued 0's
  1282.  = 0 
  1283.  "." 
  1284. --replace 
  1285.  = 0 
  1286. --append 
  1287. ftext() 
  1288. keystroke
  1289. --This 
  1290.  performs calculations.
  1291. If no values had been entered 
  1292. --saved, 
  1293. they're repeatedly hitting 
  1294. same operator 
  1295. , no action
  1296. taken.
  1297. If one 
  1298. passed 
  1299. kno other 
  1300. If two 
  1301.  are calculated 
  1302. previously stored 
  1303. their 
  1304. --result 
  1305. displayed 
  1306. scrollable 
  1307. val1. The "+" 
  1308.  new_op 
  1309. , op, savekey
  1310. --ignore 
  1311.  hits on 
  1312. "+-x/") 
  1313. "+-x/"))
  1314. --special 
  1315. equal sign 
  1316. x"mr" 
  1317. CRLF & "
  1318. TAPE "T"
  1319. --may have 
  1320. .out 
  1321. dividing 
  1322. --only 
  1323. operation
  1324.  strNoZeroDivide()
  1325. under/
  1326. c strOverflow()
  1327. c strUnderflow()
  1328. --intercept tabs
  1329. handler intercepts 
  1330. strokes 
  1331. If a 
  1332. --calculator 
  1333. equivalent 
  1334. pressed, a 
  1335. Emessage 
  1336. sent 
  1337.     corresponding 
  1338. ("0") 
  1339. ("9")
  1340. ("0"))
  1341. ("+")
  1342. ("-") 
  1343. ("*") 
  1344. ("/")
  1345. ("=")
  1346.  based on 
  1347. payments fields
  1348. calculate_payment
  1349. 4svCurrencyFormat, svNumFormat
  1350. Zloan_amount, interest_rate, 
  1351. number_payments, wrk
  1352. strStdNum(
  1353. xPosNum(
  1354.  strEnterLoanAmt()
  1355. strMin1()
  1356. xposNum(
  1357.  strEnterInterestRate()
  1358. strMinTenth()
  1359. > 1000
  1360. strMaxInterest()
  1361.  strEnterNumberPymts()
  1362. typed 
  1363.  strLoanAmt() 
  1364. strDisplayCurrency(
  1365. )/1200 
  1366.  strInterestrate() 
  1367. strlocalNum(
  1368. ) & "%" 
  1369.  strNumPymts() 
  1370. --figure 
  1371.  per 
  1372. "amount_per_payment"
  1373.  strPymtAmt() 
  1374. total 
  1375.  paid 
  1376. "total_interest_paid"
  1377.  strTotalInterest() 
  1378. wrk) & 
  1379. fType
  1380. ZvText
  1381. code 
  1382. german 
  1383.  ONLY, 
  1384. suppresses 
  1385. meaningless 
  1386. Note that
  1387. modifies a 
  1388. parameter.
  1389. [ftype
  1390. " && 
  1391. "Tape"
  1392. ) - 3
  1393. calculatorHelp
  1394. "CalcHelp"
  1395. Build 
  1396. strings
  1397. "0" & 
  1398. sysICurrDigits \
  1399. "0" & 
  1400. & "00" 
  1401. zformatting routines 
  1402. deal 
  1403. ToolBook 
  1404. Set up 
  1405. ZvZeros
  1406. sysILZero = 1
  1407. sysIDigits 
  1408. currency 
  1409. leading 0 
  1410. strDisplayNumber fValue
  1411. If there's no dec pt don't 
  1412. There's a 
  1413. ZvInt, vFrac, vAmt
  1414. decimals
  1415. 5) < 0
  1416. negative 
  1417. sysINegCurr = 0
  1418. "(" & sysICurrency & 
  1419.  & ")"
  1420. "-" & 
  1421. ."-" & 
  1422.  & "-"
  1423. "(" & 
  1424. "-" & 
  1425.  & "-" & 
  1426. sysIcurrency = 0
  1427. sysCurrency & 
  1428. (& vMat
  1429. H     num
  1430. FALSE
  1431. K <= 1
  1432. Convert 
  1433. internal 
  1434. Substitutes
  1435. S, assumes no error 
  1436. input
  1437.  fNum
  1438. strLocalNum 
  1439. ~(".",
  1440. --    Beginning 
  1441. strAboutCalculator
  1442. "&Info 
  1443. "Seite"
  1444. "Hilfe"
  1445. strEnterNonZeroInterestRate
  1446. "Geben Sie bitte einen Zinssatz ungleich 
  1447. "SeiteAusw
  1448. hlen"
  1449. "Importieren"
  1450. "Exportieren"
  1451. "&Rechner-
  1452. strRound
  1453. "runden"
  1454. - keep 
  1455. synch 
  1456. strPrintErr
  1457.  "Druckfehler; 
  1458. berpr
  1459. Druckereinstellung." 
  1460. "Kann 
  1461. durch 0 geteilt 
  1462. berlauf"
  1463. "Unterlauf"
  1464. "Bitte Kreditbetrag eingeben."
  1465. (Zinsrate 
  1466. "Anzahl 
  1467. Zahlungen 
  1468. strInterestRate
  1469. strCurrencySymbol
  1470. "Betrag pro 
  1471. "Bezahlter Gesamtzins:"
  1472. strSqrt
  1473. "wurzel"
  1474. strSpecMathFunc 
  1475. "Besondere mathematische 
  1476. strAcosErr 
  1477. ( ) erfordert 
  1478. Wert zwischen -1 
  1479. strAsinErr 
  1480. '( ) 
  1481. strCoshErr 
  1482. g( ) 
  1483. `710 
  1484. 710." 
  1485. strExpErr 
  1486. 708." 
  1487. strLnErr 
  1488. Y( ) 
  1489. positiven 
  1490. strSinhErr 
  1491. 710." 
  1492. strSqrtErr 
  1493. "Wurzel( ) 
  1494. strTanErr 
  1495. "Bei 
  1496. kein 
  1497. ssig, f
  1498. k= 90." 
  1499. einem Zehntelprozent liegt." 
  1500. 1000 Prozent 
  1501. strMaxPayments 
  1502. weniger 
  1503. 1200 
  1504. enterbook
  1505. display
  1506. togglestatus
  1507. calculate
  1508. keyup
  1509. reader
  1510. keyChar
  1511. calculate_payment
  1512. leavebook
  1513. author
  1514. calculatorHelp
  1515. initialize
  1516. setupFormats
  1517. setupNumber
  1518. Export
  1519. strStdNum
  1520. strCalculatorHelp
  1521. strRound
  1522. strLocalNum
  1523. strPrintErr
  1524. strNoZeroDivide
  1525. strAboutCalculator
  1526. strOverflow
  1527. strUnderflow
  1528. strEnterLoanAmt
  1529. strDisplayCurrency
  1530. strEnterInterestRate
  1531. strEnterNumberPymts
  1532. strLoanAmt
  1533. strPage
  1534. strInterestRate
  1535. strNumPymts
  1536. strText
  1537. strCurrencySymbol
  1538. strHelp
  1539. strPymtAmt
  1540. posNum
  1541. strTotalInterest
  1542. strSqrt
  1543. strEnterNonZeroInterestRate
  1544. strSpecMathFunc
  1545. strAcosErr
  1546. strAsinErr
  1547. strCoshErr
  1548. strSelectPage
  1549. strExpErr
  1550. strLnErr
  1551. strSinhErr
  1552. strDisplayNumber
  1553. strSqrtErr
  1554. strTanErr
  1555. strImport
  1556. strMinTenth
  1557. strMaxInterest
  1558. strExport
  1559. strMaxPayments
  1560. enterbook
  1561. initialize
  1562. sizetopage
  1563. leavebook
  1564. togglestatus
  1565. reader
  1566. sizetopage
  1567. author
  1568. sizetopage
  1569. initialize
  1570. bringWindowToTop
  1571. strPage
  1572. strText
  1573. strSelectPage
  1574. strImport
  1575. strExport
  1576. strCalculatorHelp
  1577. CalculatorHelp
  1578. strHelp
  1579. buttonup
  1580. clear_all
  1581. mainCalc
  1582. buttonup
  1583. clear_tape
  1584. math_functions
  1585. w=setupFormats
  1586.     setupNumber
  1587. default
  1588. memory
  1589. theStore
  1590. display
  1591. display
  1592. fText
  1593. number
  1594. display
  1595. ftext
  1596. display
  1597. ftext
  1598. number
  1599. last_key
  1600. value
  1601. calculate
  1602. display
  1603. fText
  1604. number
  1605. ------------
  1606. display
  1607. fText
  1608. display
  1609. fText
  1610. display
  1611. fText
  1612. strNoZeroDivide
  1613. buttonup
  1614. clear_all
  1615. display
  1616. fText
  1617. strOverflow
  1618. strOverflow
  1619. strUnderflow
  1620. strUnderflow
  1621. buttonup
  1622. clear_all
  1623. ------------
  1624. display
  1625. fText
  1626. last_key
  1627. theStore
  1628. savekey
  1629. new_op
  1630. keyup
  1631. keyChar
  1632. LBdisplay
  1633. LBdisplay
  1634. calculate
  1635. calculate
  1636. calculate
  1637. calculate
  1638. calculate
  1639. calculate_payment
  1640. loan_amount
  1641. strStdNum
  1642. PosNum
  1643. strEnterLoanAmt
  1644. loan_amount
  1645. strMin1
  1646. loan_amount
  1647. interest_rate
  1648. strStdNum
  1649. posNum
  1650. strEnterInterestRate
  1651. interest_rate
  1652. strMinTenth
  1653. interest_rate
  1654. strMaxInterest
  1655. interest_rate
  1656. number_payments
  1657. strStdNum
  1658. posNum
  1659. strEnterNumberPymts
  1660. number_payments
  1661. loan_amount
  1662. interest_rate
  1663. number_payments
  1664. number_payments
  1665. number_payments
  1666. strLoanAmt
  1667. strDisplayCurrency
  1668. strStdNum
  1669. strInterestrate
  1670. strlocalNum
  1671. strNumPymts
  1672. strStdNum
  1673. strStdNum
  1674. strDisplayCurrency
  1675. amount_per_payment
  1676. strPymtAmt
  1677. strDisplayCurrency
  1678. strStdNum
  1679. strDisplayCurrency
  1680. total_interest_paid
  1681. strTotalInterest
  1682. strDisplayCurrency
  1683. loan_amount
  1684. interest_rate
  1685. number_payments
  1686. svCurrencyFormat
  1687. svNumFormat
  1688. ftype
  1689. display
  1690. mainCalc
  1691. mainCalc
  1692. mainCalc
  1693. vText
  1694. fType
  1695. calculatorHelp
  1696. CalcHelp
  1697. setupFormats
  1698. 000000000000000000000
  1699. decimal
  1700. mainCalc
  1701. svNumFormat
  1702. svCurrencyFormat
  1703. setupNumber
  1704. 00000000000000000000000000000
  1705. vZeros
  1706. svNumFormat
  1707. svCurrencyFormat
  1708. strDisplayNumber
  1709. svNumFormat
  1710. svCurrencyFormat
  1711. fValue
  1712. strDisplayCurrency
  1713. strStdNum
  1714. vFrac
  1715. svCurrencyFormat
  1716. fValue
  1717. posNum
  1718. strStdNum
  1719. strLocalNum
  1720. strAboutCalculator
  1721. &Info 
  1722. ber Calculator
  1723. strPage
  1724. Seite
  1725. strText
  1726. strHelp
  1727. Hilfe
  1728. strEnterNonZeroInterestRate
  1729. Geben Sie bitte einen Zinssatz ungleich null ein.
  1730. strSelectPage
  1731. SeiteAusw
  1732. strImport
  1733. Importieren
  1734. strExport
  1735. Exportieren
  1736. strCalculatorHelp
  1737. &Rechner-Hilfe...
  1738. strRound
  1739. runden
  1740. strPrintErr
  1741. Druckfehler; bitte 
  1742. berpr
  1743. fen Sie Ihre Druckereinstellung.
  1744. strNoZeroDivide
  1745. Kann nicht durch 0 geteilt werden.
  1746. strOverflow
  1747. berlauf
  1748. strUnderflow
  1749. Unterlauf
  1750. strEnterLoanAmt
  1751. Bitte Kreditbetrag eingeben.
  1752. strEnterInterestRate
  1753. Bitte Zinsrate eingeben.
  1754. strEnterNumberPymts
  1755. Anzahl der Zahlungen eingeben.
  1756. strLoanAmt
  1757. Kreditbetrag:
  1758. strInterestRate
  1759. Zinssatz:
  1760. strNumPymts
  1761. Anzahl der Zahlungen:
  1762. strCurrencySymbol
  1763. strPymtAmt
  1764. Betrag pro Zahlung:
  1765. strTotalInterest
  1766. Bezahlter Gesamtzins:
  1767. strSqrt
  1768. wurzel
  1769. strSpecMathFunc
  1770. Besondere mathematische Funktionen.
  1771. strAcosErr
  1772. acos( ) erfordert einen Wert zwischen -1 und 1.
  1773. strAsinErr
  1774. asin( ) erfordert einen Wert zwischen -1 und 1.
  1775. strCoshErr
  1776. cosh( ) erfordert einen Wert zwischen -710 und 710.
  1777. strExpErr
  1778. exp( ) erfordert einen Wert zwischen -708 und 708.
  1779. strLnErr
  1780. ln( ) erfordert einen positiven Wert.
  1781. strSinhErr
  1782. sinh( ) erfordert einen Wert zwischen -710 und 710.
  1783. strSqrtErr
  1784. Wurzel( ) erfordert einen positiven Wert.
  1785. strTanErr
  1786. Bei tan() ist kein Wert zul
  1787. ssig, f
  1788. r den mod = 90.
  1789. strMinTenth
  1790. Geben Sie eine Rate ein, die unter einem Zehntelprozent liegt.
  1791. strMaxInterest
  1792. Bitte geben Sie eine Rate ein, die unter 1000 Prozent liegt.
  1793. strMaxPayments
  1794. Bitte geben Sie weniger als 1200 Zahlungen ein.
  1795. 4last_key
  1796. Zresult, vInput
  1797. textfromPoint(
  1798. selectedtextlines 
  1799. ftext() 
  1800. "display" 
  1801.  >= -1 
  1802.  <= 1
  1803. )*(180/
  1804. strAcosErr()
  1805.  >= -1 
  1806.  <= 1
  1807. )* (180/
  1808. strAsinErr()
  1809. This 
  1810. the localized (
  1811. country) functions
  1812. strRound()
  1813. )*(180/
  1814. k360) * 
  1815. /180) 
  1816.  >= -710 
  1817.  <= 710
  1818. strCoshErr()
  1819.  >= -708 
  1820.  <= 708
  1821. strExpErr()
  1822. strLnErr()
  1823. k360)*(
  1824. /180)) 
  1825.  >= -710 
  1826.  <= 710
  1827. strSinhErr()
  1828. square root sign
  1829. strSqrt()
  1830.  >= 0
  1831. strSqrtErr()
  1832. vDiff 
  1833. k180)-90)
  1834. < 1.0e-12
  1835. strTanErr()
  1836. * (3.1416/180)) 
  1837. & "(" & 
  1838.  & ")") 
  1839. tape 
  1840. fText() 
  1841. "math" 
  1842. Jkeystroke
  1843. buttonup
  1844.     buttonup
  1845. textfromPoint
  1846. display
  1847. ftext
  1848. strAcosErr
  1849. strAsinErr
  1850. strRound
  1851. strCoshErr
  1852. strExpErr
  1853. strLnErr
  1854. strSinhErr
  1855. strSqrt
  1856. strSqrtErr
  1857. strTanErr
  1858. display
  1859. fText
  1860. vDiff
  1861. result
  1862. vInput
  1863. last_key
  1864. B"clear_payments"
  1865. --bypass 
  1866. handler 
  1867. key, isShift
  1868. ZvDecPt
  1869. (sysDecimal) 
  1870. keyEnter 
  1871. "loan_amount" 
  1872. "interest_rate" 
  1873. "number_payments" 
  1874. B"calculate_payments"
  1875. ("0") 
  1876. ("9") ) 
  1877. enterPage
  1878. keyChar
  1879. enterPage
  1880. reader
  1881. buttonUp
  1882. clear_payments
  1883. keyChar
  1884. loan_amount
  1885. interest_rate
  1886. number_payments
  1887. buttonup
  1888. calculate_payments
  1889. KkeyDown
  1890. number_payments
  1891. vDecPt
  1892. isShift
  1893. Kreditbetrag:
  1894. 1,00 F
  1895. Zinssatz:
  1896. 12,66%
  1897. Anzahl der Zahlungen:
  1898. Betrag pro Zahlung:
  1899. 0,09 F
  1900. Bezahlter Gesamtzins:
  1901. 0,07 F
  1902. samtzins:
  1903. 18081011756,79 F
  1904. 10000,34 F
  1905. Zinssatz:
  1906. 10,1%
  1907. Anzahl der Zahlungen:
  1908. Betrag pro Zahlung:
  1909. 9675,89 F
  1910. Bezahlter Gesamtzins:
  1911. 6110,39 F
  1912. Kreditbetrag:
  1913. 110000,56 F
  1914. Zinssatz:
  1915. 10,1%
  1916. Anzahl der Zahlungen:
  1917. Betrag pro Zahlung:
  1918. 9675,91 F
  1919. Bezahlter Gesamtzins:
  1920. 6110,40 F
  1921. Kreditbetrag:
  1922. 45110000,56 F
  1923. Zinssatz:
  1924. 10,1%
  1925. Anzahl der Zahlungen:
  1926. Betrag pro Zahlung:
  1927. 3967984,06 F
  1928. Bezahlter Gesamtzins:
  1929. 2505808,11 F
  1930. Kreditbetrag:
  1931. 45110000,56 F
  1932. Zinssatz:
  1933. 10,1%
  1934. Anzahl der Zahlungen:
  1935. Betrag pro Zahlung:
  1936. 3967984,06 F
  1937. Bezahlter Gesamtzins:
  1938. 2505808,11 F
  1939. Cancel_Payments
  1940. buttonup
  1941. buttonup
  1942. Abbrechen
  1943. calculate_payments
  1944. calculate_payment
  1945. buttonup
  1946. buttonup
  1947. calculate_payment
  1948. Berechnen
  1949. Betrag pro Zahlung:
  1950. Gezahlter Gesamtzins:
  1951. Anzahl der Zahlungen:
  1952. Zinssatz: %
  1953. Kreditbetrag:
  1954. clear_payments
  1955. "loan_amount"
  1956. "interest_rate"
  1957. "number_payments"
  1958. "amount_per_payment"
  1959. "total_interest_paid"
  1960. buttonup
  1961. buttonup
  1962. loan_amount
  1963. interest_rate
  1964. number_payments
  1965. amount_per_payment
  1966. total_interest_paid
  1967. loan_amount
  1968. schen
  1969. loan_amount
  1970. interest_rate
  1971. number_payments
  1972. amount_per_payment
  1973. total_interest_paid
  1974. calcMain
  1975. MainCalc
  1976. calcHelp
  1977. Zahlen eingeben.  Um eine Zahl in den angezeigten Wert zu setzen oder an diesen Wert zu h
  1978. ngen, klicken Sie eine Schaltfl
  1979. che an, die diese Zahl enth
  1980. lt. Sie k
  1981. nnen Zahlen aber auch 
  1982. ber die Zahlentasten Ihrer Tastatur oder die numerische Tastatur (wenn "NumLock" eingestellt ist) eingeben und anzeigen.
  1983. Alles l
  1984. schen  Klicken Sie die Schaltfl
  1985. che "CA" an, wenn Sie den angezeigten Wert und alle gespeicherten Werte fr
  1986. herer Berechnungen l
  1987. schen  wollen.
  1988. schen  Klicken Sie die Schaltfl
  1989. che "C" an, wenn Sie nur den angezeigten Wert l
  1990. schen wollen. Verwenden Sie diese Schaltfl
  1991. che, wenn Sie einen Fehler machen, w
  1992. hrend Sie eine Reihe von Operationen durchf
  1993. hren und weitermachen wollen.
  1994. Arithmetische Operatoren.  Klicken Sie die Schaltfl
  1995. chen  "/", "x", "-" oder "+" an, um die betreffende Operation f
  1996. r den angezeigten Wert durchzuf
  1997. hren.
  1998. Gleichheitszeichen  Klicken Sie die Schaltfl
  1999. che "=" an, um eine
  2000. Operationsreihe zu beenden.
  2001. Vorzeichen wechseln. Klicken Sie die Schaltfl
  2002. che "+-" an, um das Vorzeichen des
  2003. angezeigten Werts zu 
  2004. ndern.
  2005. Bildlauf-durchf
  2006. hrendes Band  Das Feld "Band" f
  2007. ber Ihre Berechnungen laufend Buch. Sie k
  2008. nnen den Text dieses Feldes l
  2009. schen oder drucken. Klicken Sie eine Zahl im Feld "Band" an, um diese anzuzeigen.
  2010. Band l
  2011. schen  Klicken Sie die Schaltfl
  2012. che "L
  2013. schen" auf der linken Seite des Felds "Band" an, um dessen Text zu l
  2014. schen.
  2015. Band drucken  Klicken Sie die Schaltfl
  2016. che "Drucken" an, um das Feld "Band" zu drucken.
  2017. Spezielle mathematische Funktionen. Klicken Sie den Namen einer mathematischen Funktion an, um diese Funktion auf den angezeigten Wert anzuwenden. Die trigonometrischen Funktionen verwenden Gradangaben als Argumente. 
  2018. Speicher l
  2019. schen. Klicken Sie die Schaltfl
  2020. che "MC" an, um den Speicherpuffer zu l
  2021. schen.
  2022. Speicher abrufen. Klicken Sie die Schaltfl
  2023. che "MR" an, um den Wert, den der Speicherpuffer enth
  2024. lt, anzuzeigen. Dies entspricht der Zahleneingabe 
  2025. ber die Zahlenschaltfl
  2026. chen oder den Tastenblock.
  2027. Dem Speicher etwas hinzuf
  2028. gen. Klicken Sie die Schaltfl
  2029. che "M+" an, um den
  2030. angezeigten Wert dem Speicherpufferwert hinzuzuf
  2031. Aus dem Speicher etwas abziehen. Klicken Sie die Schaltfl
  2032. che "M-" an, um den angezeigten Wert vom Speicherpufferwert abzuziehen.
  2033. Zahlungen berechnen. Klicken Sie die Schaltfl
  2034. che "Zahlungen" an, um die einzelnen Zahlungsbetr
  2035. ge und den Gesamtzins f
  2036. r Kredite mit festem Zins, die auf monatlichen Zahlungen beruhen, zu berechnen. Hinweis: Alle Felder dieser Funktion brauchen Zahlen als Daten.
  2037. Feld "Kreditbetrag". Geben Sie in diesem Feld den entliehenen Geldbetrag ein (5000 f
  2038. nftausend DM).
  2039. Feld "Zinssatz". Geben Sie in diesem Feld den Zinssatz f
  2040. r die Zeitdauer des Kredits ein ("9" f
  2041. r einen Zinssatz von neun Prozent).
  2042. Feld "Anzahl der Zahlungen". Geben Sie in das Feld die Anzahl der Zahlungen f
  2043. r die Zeitdauer des Kredits ein ("48" f
  2044. r monatliche Zahlungen 
  2045. ber vier Jahre hinweg).
  2046. Zahlungen berechnen. Klicken Sie die Schaltfl
  2047. che "Berechnen" an oder dr
  2048. cken Sie die Eingabetaste, um den monatlichen Zahlungsbetrag und den gezahlten Gesamtzins anzuzeigen. Diese Daten werden an das Feld "Band" angeh
  2049. ngt. Sie k
  2050. nnen neue Kreditbetr
  2051. ge, Zinsspannen oder eine neue Zahlungsanzahl eingeben und neu berechnen.
  2052. Zahlungsfelder l
  2053. schen. Klicken Sie die Schaltfl
  2054. che "L
  2055. schen" an, um den Text
  2056. in allen Feldern des Zahlungskastens zu l
  2057. schen.
  2058. Feld "Betrag pro Zahlung". Dieses Feld zeigt den DM-Betrag f
  2059. r jede monatliche Zahlung.
  2060. Feld "Gezahlter Gesamtzins". Dieses Feld zeigt den DM-Betrag f
  2061. r den w
  2062. hrend der Kreditzeit gezahlten Gesamtzins an.
  2063. Zahlungskasten abbrechen. Klicken Sie die Schaltfl
  2064. che "Abbrechen" an, um den
  2065. Zahlungskasten abzubrechen.
  2066. dismissHelp
  2067. buttonup
  2068. buttonup
  2069. Hier anklicken, um "Hilfe" abzubrechen.
  2070. CalcHelp
  2071. Rechner-Hilfe
  2072. calc.ico
  2073. DDDDDDDDDDDDDD
  2074. fffffffffffff
  2075. fffffffffffff
  2076. ffffffff
  2077. ffffffff
  2078. fffffffffffff
  2079. wwwwwwww
  2080. --Copyright 
  2081.  1991
  2082. Asymetrix Corporation
  2083. erteilt Ihnen die Erlaubnis, 
  2084. dieser Anwendung enthaltenen 
  2085. --einzelnen Objekte und Scripten 
  2086. Ihre eigenen Anwendungen zu kopieren 
  2087. diesen zu verwenden. Es ist 
  2088. jedoch nicht gestattet, das
  2089. --ganze Buch oder gr
  2090. ] Teile davon zu 
  2091.  eigenes
  2092. --Produkt zu vertreiben.
  2093. h Urheberrecht 
  2094.  Originalelementen 
  2095. . Enth
  2096. lt Ihr 
  2097. kopiert wurden, mu
  2098. t es folgenden Hinweis 
  2099. fallen unter das 
  2100. 7zur Sprachneutralit
  2101. t: Damit 
  2102. leichter 
  2103. bersetzt
  2104. --werden kann, 
  2105. n vom 
  2106.  kommenden Textzeichenfolgen, 
  2107. --Leser gezeigt 
  2108. Funktionen gebracht, 
  2109. sich 
  2110. diesem Buchscript 
  2111. --unten befinden. Die Namen 
  2112. Nbeginnen 
  2113. Buchstaben
  2114. --"str".
  2115. ,:         Jim Gallant
  2116. Q:    3/27/91
  2117. International version, 
  2118. 3Rivera 4/91, 
  2119. Jchange 4/22/91
  2120. initialize
  2121. sysChangesdb 
  2122. --cleanup 
  2123. togglestatus
  2124. 4memory, theStore
  2125. X"user"
  2126. bringWindowToTop(
  2127. zmenus
  2128. cstrPage() 
  2129. cstrText() 
  2130. strSelectPage() 
  2131. estrImport() 
  2132. estrExport() 
  2133. e strCalculatorHelp() alias "
  2134. cstrHelp() 
  2135. [displays 
  2136. up formats
  2137. B"clear_all" 
  2138. "mainCalc"
  2139. B"clear_tape" 
  2140. "math_functions" 
  2141. setupFormats
  2142. setupNumber
  2143. default
  2144. --controls 
  2145. numbers, checks 
  2146. overflow, multiple 
  2147. --points, sets 
  2148. Jkey value 
  2149. generic 
  2150. 4last_key
  2151. ZvNum
  2152. fText() 
  2153. :) >= 16 
  2154. sysDecimal 
  2155. continued 0's
  2156.  = 0 
  2157.  "." 
  2158. --replace 
  2159.  = 0 
  2160. --append 
  2161. ftext() 
  2162. keystroke
  2163. --This 
  2164.  performs calculations.
  2165. If no values had been entered 
  2166. --saved, 
  2167. they're repeatedly hitting 
  2168. same operator 
  2169. , no action
  2170. taken.
  2171. If one 
  2172. passed 
  2173. kno other 
  2174. If two 
  2175.  are calculated 
  2176. previously stored 
  2177. their 
  2178. --result 
  2179. displayed 
  2180. scrollable 
  2181. val1. The "+" 
  2182.  new_op 
  2183. , op, savekey
  2184. --ignore 
  2185.  hits on 
  2186. "+-x/") 
  2187. "+-x/"))
  2188. --special 
  2189. equal sign 
  2190. x"mr" 
  2191. CRLF & "
  2192. TAPE "T"
  2193. --may have 
  2194. .out 
  2195. dividing 
  2196. --only 
  2197. operation
  2198.  strNoZeroDivide()
  2199. under/
  2200. c strOverflow()
  2201. c strUnderflow()
  2202. --intercept tabs
  2203. handler intercepts 
  2204. strokes 
  2205. If a 
  2206. --calculator 
  2207. equivalent 
  2208. pressed, a 
  2209. Emessage 
  2210. sent 
  2211.     corresponding 
  2212. ("0") 
  2213. ("9")
  2214. ("0"))
  2215. ("+")
  2216. ("-") 
  2217. ("*") 
  2218. ("/")
  2219. ("=")
  2220.  based on 
  2221. payments fields
  2222. calculate_payment
  2223. 4svCurrencyFormat, svNumFormat
  2224. Zloan_amount, interest_rate, 
  2225. number_payments, wrk
  2226. strStdNum(
  2227. xPosNum(
  2228.  strEnterLoanAmt()
  2229. strMin1()
  2230. xposNum(
  2231.  strEnterInterestRate()
  2232. strMinTenth()
  2233. > 1000
  2234. strMaxInterest()
  2235.  strEnterNumberPymts()
  2236. typed 
  2237.  strLoanAmt() 
  2238. strDisplayCurrency(
  2239. )/1200 
  2240.  strInterestrate() 
  2241. strlocalNum(
  2242. ) & "%" 
  2243.  strNumPymts() 
  2244. --figure 
  2245.  per 
  2246. "amount_per_payment"
  2247.  strPymtAmt() 
  2248. total 
  2249.  paid 
  2250. "total_interest_paid"
  2251.  strTotalInterest() 
  2252. wrk) & 
  2253. fType
  2254. ZvText
  2255. code 
  2256. german 
  2257.  ONLY, 
  2258. suppresses 
  2259. meaningless 
  2260. Note that
  2261. modifies a 
  2262. parameter.
  2263. [ftype
  2264. " && 
  2265. "Tape"
  2266. ) - 3
  2267. calculatorHelp
  2268. "CalcHelp"
  2269. Build 
  2270. strings
  2271. "0" & 
  2272. sysICurrDigits \
  2273. "0" & 
  2274. & "00" 
  2275. zformatting routines 
  2276. deal 
  2277. ToolBook 
  2278. Set up 
  2279. ZvZeros
  2280. sysILZero = 1
  2281. sysIDigits 
  2282. currency 
  2283. leading 0 
  2284. strDisplayNumber fValue
  2285. If there's no dec pt don't 
  2286. There's a 
  2287. ZvInt, vFrac, vAmt
  2288. decimals
  2289. 5) < 0
  2290. negative 
  2291. sysINegCurr = 0
  2292. "(" & sysICurrency & 
  2293.  & ")"
  2294. "-" & 
  2295. ."-" & 
  2296.  & "-"
  2297. "(" & 
  2298. "-" & 
  2299.  & "-" & 
  2300. sysIcurrency = 0
  2301. sysCurrency & 
  2302. (& vMat
  2303. c     num
  2304. FALSE
  2305. K <= 1
  2306. Convert 
  2307. internal 
  2308. Substitutes
  2309. S, assumes no error 
  2310. input
  2311.  fNum
  2312. strLocalNum 
  2313. ~(".",
  2314. --    Beginning 
  2315. strAboutCalculator
  2316. "&Info 
  2317. "Seite"
  2318. "Hilfe"
  2319. strEnterNonZeroInterestRate
  2320. "Geben Sie bitte einen Zinssatz ungleich 
  2321. "SeiteAusw
  2322. hlen"
  2323. "Importieren"
  2324. "Exportieren"
  2325. "&Rechner-
  2326. strRound
  2327. "runden"
  2328. - keep 
  2329. synch 
  2330. strPrintErr
  2331.  "Druckfehler; 
  2332. berpr
  2333. Druckereinstellung." 
  2334. "Kann 
  2335. durch 0 geteilt 
  2336. berlauf"
  2337. "Unterlauf"
  2338. "Bitte Kreditbetrag eingeben."
  2339. (Zinsrate 
  2340. "Anzahl 
  2341. Zahlungen 
  2342. strInterestRate
  2343. strCurrencySymbol
  2344. "Betrag pro 
  2345. "Bezahlter Gesamtzins:"
  2346. strSqrt
  2347. "wurzel"
  2348. strSpecMathFunc 
  2349. "Besondere mathematische 
  2350. strAcosErr 
  2351. ( ) erfordert 
  2352. Wert zwischen -1 
  2353. strAsinErr 
  2354. '( ) 
  2355. strCoshErr 
  2356. g( ) 
  2357. `710 
  2358. 710." 
  2359. strExpErr 
  2360. 708." 
  2361. strLnErr 
  2362. Y( ) 
  2363. positiven 
  2364. strSinhErr 
  2365. 710." 
  2366. strSqrtErr 
  2367. "Wurzel( ) 
  2368. strTanErr 
  2369. "Bei 
  2370. kein 
  2371. ssig, f
  2372. k= 90." 
  2373. einem Zehntelprozent liegt." 
  2374. 1000 Prozent 
  2375. strMaxPayments 
  2376. weniger 
  2377. 1200 
  2378. enterbook
  2379. display
  2380. togglestatus
  2381. calculate
  2382. keyup
  2383. reader
  2384. keyChar
  2385. calculate_payment
  2386. leavebook
  2387. author
  2388. calculatorHelp
  2389. initialize
  2390. setupFormats
  2391. setupNumber
  2392. Export
  2393. strStdNum
  2394. strCalculatorHelp
  2395. strRound
  2396. strLocalNum
  2397. strPrintErr
  2398. strNoZeroDivide
  2399. strAboutCalculator
  2400. strOverflow
  2401. strUnderflow
  2402. strEnterLoanAmt
  2403. strDisplayCurrency
  2404. strEnterInterestRate
  2405. strEnterNumberPymts
  2406. strLoanAmt
  2407. strPage
  2408. strInterestRate
  2409. strNumPymts
  2410. strText
  2411. strCurrencySymbol
  2412. strHelp
  2413. strPymtAmt
  2414. posNum
  2415. strTotalInterest
  2416. strSqrt
  2417. strEnterNonZeroInterestRate
  2418. strSpecMathFunc
  2419. strAcosErr
  2420. strAsinErr
  2421. strCoshErr
  2422. strSelectPage
  2423. strExpErr
  2424. strLnErr
  2425. strSinhErr
  2426. strDisplayNumber
  2427. strSqrtErr
  2428. strTanErr
  2429. strImport
  2430. strMinTenth
  2431. strMaxInterest
  2432. strExport
  2433. strMaxPayments
  2434. enterbook
  2435. initialize
  2436. sizetopage
  2437. leavebook
  2438. togglestatus
  2439. reader
  2440. sizetopage
  2441. author
  2442. sizetopage
  2443. initialize
  2444. bringWindowToTop
  2445. strPage
  2446. strText
  2447. strSelectPage
  2448. strImport
  2449. strExport
  2450. strCalculatorHelp
  2451. CalculatorHelp
  2452. strHelp
  2453. buttonup
  2454. clear_all
  2455. mainCalc
  2456. buttonup
  2457. clear_tape
  2458. math_functions
  2459. w=setupFormats
  2460.     setupNumber
  2461. default
  2462. memory
  2463. theStore
  2464. display
  2465. display
  2466. fText
  2467. number
  2468. display
  2469. ftext
  2470. display
  2471. ftext
  2472. number
  2473. last_key
  2474. value
  2475. calculate
  2476. display
  2477. fText
  2478. number
  2479. ------------
  2480. display
  2481. fText
  2482. display
  2483. fText
  2484. display
  2485. fText
  2486. strNoZeroDivide
  2487. buttonup
  2488. clear_all
  2489. display
  2490. fText
  2491. strOverflow
  2492. strOverflow
  2493. strUnderflow
  2494. strUnderflow
  2495. buttonup
  2496. clear_all
  2497. ------------
  2498. display
  2499. fText
  2500. last_key
  2501. theStore
  2502. savekey
  2503. new_op
  2504. keyup
  2505. keyChar
  2506. LBdisplay
  2507. LBdisplay
  2508. calculate
  2509. calculate
  2510. calculate
  2511. calculate
  2512. calculate
  2513. calculate_payment
  2514. loan_amount
  2515. strStdNum
  2516. PosNum
  2517. strEnterLoanAmt
  2518. loan_amount
  2519. strMin1
  2520. loan_amount
  2521. interest_rate
  2522. strStdNum
  2523. posNum
  2524. strEnterInterestRate
  2525. interest_rate
  2526. strMinTenth
  2527. interest_rate
  2528. strMaxInterest
  2529. interest_rate
  2530. number_payments
  2531. strStdNum
  2532. posNum
  2533. strEnterNumberPymts
  2534. number_payments
  2535. loan_amount
  2536. interest_rate
  2537. number_payments
  2538. number_payments
  2539. number_payments
  2540. strLoanAmt
  2541. strDisplayCurrency
  2542. strStdNum
  2543. strInterestrate
  2544. strlocalNum
  2545. strNumPymts
  2546. strStdNum
  2547. strStdNum
  2548. strDisplayCurrency
  2549. amount_per_payment
  2550. strPymtAmt
  2551. strDisplayCurrency
  2552. strStdNum
  2553. strDisplayCurrency
  2554. total_interest_paid
  2555. strTotalInterest
  2556. strDisplayCurrency
  2557. loan_amount
  2558. interest_rate
  2559. number_payments
  2560. svCurrencyFormat
  2561. svNumFormat
  2562. ftype
  2563. display
  2564. mainCalc
  2565. mainCalc
  2566. mainCalc
  2567. vText
  2568. fType
  2569. calculatorHelp
  2570. CalcHelp
  2571. CalcHelp
  2572. setupFormats
  2573. 000000000000000000000
  2574. decimal
  2575. mainCalc
  2576. svNumFormat
  2577. svCurrencyFormat
  2578. setupNumber
  2579. 00000000000000000000000000000
  2580. vZeros
  2581. svNumFormat
  2582. svCurrencyFormat
  2583. strDisplayNumber
  2584. svNumFormat
  2585. svCurrencyFormat
  2586. fValue
  2587. strDisplayCurrency
  2588. strStdNum
  2589. vFrac
  2590. svCurrencyFormat
  2591. fValue
  2592. posNum
  2593. strStdNum
  2594. strLocalNum
  2595. strAboutCalculator
  2596. &Info 
  2597. ber Calculator
  2598. strPage
  2599. Seite
  2600. strText
  2601. strHelp
  2602. Hilfe
  2603. strEnterNonZeroInterestRate
  2604. Geben Sie bitte einen Zinssatz ungleich null ein.
  2605. strSelectPage
  2606. SeiteAusw
  2607. strImport
  2608. Importieren
  2609. strExport
  2610. Exportieren
  2611. strCalculatorHelp
  2612. &Rechner-Hilfe...
  2613. strRound
  2614. runden
  2615. strPrintErr
  2616. Druckfehler; bitte 
  2617. berpr
  2618. fen Sie Ihre Druckereinstellung.
  2619. strNoZeroDivide
  2620. Kann nicht durch 0 geteilt werden.
  2621. strOverflow
  2622. berlauf
  2623. strUnderflow
  2624. Unterlauf
  2625. strEnterLoanAmt
  2626. Bitte Kreditbetrag eingeben.
  2627. strEnterInterestRate
  2628. Bitte Zinsrate eingeben.
  2629. strEnterNumberPymts
  2630. Anzahl der Zahlungen eingeben.
  2631. strLoanAmt
  2632. Kreditbetrag:
  2633. strInterestRate
  2634. Zinssatz:
  2635. strNumPymts
  2636. Anzahl der Zahlungen:
  2637. strCurrencySymbol
  2638. strPymtAmt
  2639. Betrag pro Zahlung:
  2640. strTotalInterest
  2641. Bezahlter Gesamtzins:
  2642. strSqrt
  2643. wurzel
  2644. strSpecMathFunc
  2645. Besondere mathematische Funktionen.
  2646. strAcosErr
  2647. acos( ) erfordert einen Wert zwischen -1 und 1.
  2648. strAsinErr
  2649. asin( ) erfordert einen Wert zwischen -1 und 1.
  2650. strCoshErr
  2651. cosh( ) erfordert einen Wert zwischen -710 und 710.
  2652. strExpErr
  2653. exp( ) erfordert einen Wert zwischen -708 und 708.
  2654. strLnErr
  2655. ln( ) erfordert einen positiven Wert.
  2656. strSinhErr
  2657. sinh( ) erfordert einen Wert zwischen -710 und 710.
  2658. strSqrtErr
  2659. Wurzel( ) erfordert einen positiven Wert.
  2660. strTanErr
  2661. Bei tan() ist kein Wert zul
  2662. ssig, f
  2663. r den mod = 90.
  2664. strMinTenth
  2665. Geben Sie eine Rate ein, die unter einem Zehntelprozent liegt.
  2666. strMaxInterest
  2667. Bitte geben Sie eine Rate ein, die unter 1000 Prozent liegt.
  2668. strMaxPayments
  2669. Bitte geben Sie weniger als 1200 Zahlungen ein.
  2670.