home *** CD-ROM | disk | FTP | other *** search
/ Windows Shareware GOLD / NuclearComputingVol3No1.cdr / _bbs4 / f1284.zip / JULIE13.TBK (.txt)
Asymetrix ToolBook File  |  1990-12-27  |  72KB  |  1,383 lines

  1. Introduction
  2. Usemouse
  3. Help_intro
  4. Help_choice
  5. Help_keyboard
  6. Help_mouse
  7. Help_keyboard
  8. "Using This Book" 
  9. enterPage
  10. leavePage
  11. enterPage
  12. Using This Book
  13. leavePage
  14. Using This Book
  15. "Usekeyboard"
  16. buttonUp
  17. buttonUp
  18. Usekeyboard
  19. RETURN
  20. intro_help
  21.     This screen allows you to enter dates to convert 
  22.     using the keyboard. Tab until the box next to the 
  23.     type of action you want to perform is red, then press
  24.     Enter. You will be asked to enter a date (or dates in 
  25.     the case of Find Range) in a specific format. After 
  26.     the converted dates are returned to you, the check 
  27.     mark in the box you picked will disappear. Press
  28.     Enter again to repeat the process using the same 
  29.     action or tab forward or backward to select a different
  30.     action. You may tab down to the button labeled PREV
  31.     to exit this screen. You will see a dim white circle
  32.     around the button when you are positioned properly.
  33.     Also note that the mouse may be used the check off 
  34.     the action boxes or the PREV button but you must
  35.     (of course) use the keyboard to enter the dates.
  36. Date Manipulation Book
  37. System
  38. `D|D|
  39. System
  40. `D|D|
  41. System
  42. -- Initialize 
  43. "Usemouse"
  44. B"convert" 
  45. B"range" 
  46. "messageBox" 
  47. visable 
  48. "messagebox" 
  49. "Usekeyboard"
  50. B"convert_to_jul" 
  51. "usekeyboard" 
  52. B"convert_to_greg" 
  53. -- Reset Menubar 
  54. Help 
  55. "Using This &Book" 
  56. UsingThisBook
  57. enterBook
  58. UsingThisBook
  59. enterBook
  60. convert
  61. Usemouse
  62. range
  63. Usemouse
  64. messageBox
  65. Usemouse
  66. messagebox
  67. Usemouse
  68. visable
  69. messagebox
  70. Usemouse
  71. convert_to_jul
  72. usekeyboard
  73. convert_to_greg
  74. usekeyboard
  75. range
  76. usekeyboard
  77. messageBox
  78. Usekeyboard
  79. messagebox
  80. Usekeyboard
  81. visable
  82. messagebox
  83. Usekeyboard
  84. Using This &Book
  85. UsingThisBook
  86. page id 0
  87. page id 3
  88. page id 4
  89. page id 5
  90. Introduction
  91. p1nextbutt
  92. keyEnter
  93. buttonUp
  94. keyUp
  95. buttonUp
  96. keyUp
  97. book_desc
  98.       
  99.    This is a book to allow a variety of date conversions and 
  100.    editing functions.  Included are routines to convert Julian 
  101.    dates to Gregorian dates and vise-versa. Also included are 
  102.    routines to tell you how many days fall in between dates.
  103.    Hopefully this book will be helpful to those using project 
  104.    management tools under Windows. You can use this book 
  105.    either by keyboard or mouse. You will be given a choice on 
  106.    the next page. This book was conceived, designed and
  107.    written by Rick Montoro of Steps Software. It is a free book 
  108.    that may be distributed to those with a runtime version of 
  109.    Toolbook. Any questions, comments, suggestions or reports 
  110.    of bugs will be greatly appreciated.  I can be contacted via 
  111.    Compuserve  72730,3570  or on the BBS where you found 
  112.    this book. 
  113.    Help for this book and for Toolbook can be obtained by 
  114.    choosing Help on the menu bar.
  115.         
  116.    obtained by choosing Help on the menu bar.
  117.                                                                                             er xxxxxxxxxxxxxx.  
  118.      greatly appreciated.
  119.        I can be contacted via Compuserve
  120.        User xxxxxxxxxxxxxx.  
  121. "Help_intro"
  122. buttonUp
  123. buttonUp
  124. Help_intro
  125. Help_mouse
  126. "Usemouse"
  127. buttonUp
  128. buttonUp
  129. Usemouse
  130. RETURN
  131. intro_help
  132.      You were position at the calendar display screen.
  133.      Click one of the options in the selection box. If you
  134.      do not, you will be prompted. Use the up and down
  135.      arrows next to the year and month on the calendar
  136.      to increment or decrement the month or year.
  137.      Reset Current Month button puts you back into this
  138.      month. Reset Month resets all converted dates for
  139.      for the month you have up on the calendar. If you 
  140.      pick Convert To Julian, double click on the day in the
  141.      calendar that  you wish to convert. If you click on a   
  142.      Julian day, it is converted back. If you pick Range,
  143.      you will pick two days and be returned the number
  144.      of days in between the days (non-inclusive) picked.
  145.      The days to range must be in their original state.
  146.      In other words if you pick a day that was previously
  147.      converted to Julian, you must double click to convert
  148.      it back and then double click to select it as one of the 
  149.      days in your range find selections. The order in 
  150.      which you pick the days is unimportant. The first day 
  151.      picked may be greater than the second.sa.n or Gregorian or    
  152.     you wish to 'range'  dates.
  153. "Using This Book" 
  154. enterPage
  155. leavePage
  156. enterPage
  157. Using This Book
  158. leavePage
  159. Using This Book
  160. sub1_bg
  161. session_choice
  162. B"p2keyb_button"
  163. enterPage
  164. enterPage
  165. p2keyb_button
  166. forepage2_keyb
  167.   If you wish to use 
  168.   the keyboard during
  169.   this session, click on
  170.   the keyboard icon or
  171.   tab until it is red and 
  172.   press Enter.      
  173. p2keyb_button
  174. B"p2mouse_button" 
  175. 0,100,0
  176. 0,50,100
  177. 0,100,0
  178. B"p2keyb_button"
  179. 0,100,0
  180. 0,50,100
  181. 0,100,0
  182. G, isShift
  183. B"p2prev_button"
  184. "Usekeyboard"
  185. keyEnter
  186. mouseEnter
  187. enterButton
  188. mouseLeave
  189. keyDown
  190. leaveButton
  191. buttonUp
  192. keyUp
  193. enterButton
  194. p2mouse_button
  195. leaveButton
  196. mouseEnter
  197. p2keyb_button
  198. p2mouse_button
  199. mouseLeave
  200. keyDown
  201. p2prev_button
  202. isShift
  203. buttonUp
  204. Usekeyboard
  205. keyUp
  206. Usekeyboard
  207. p2mouse_button
  208. B"p2keyb_button" 
  209. 0,100,0
  210. 0,50,100
  211. 0,100,0
  212. B"p2mouse_button"
  213. 0,100,0
  214. 0,50,100
  215. 0,100,0
  216. "Usemouse"
  217. keyEnter
  218. , isShift, isCtrl
  219. B"p2prev_button"
  220. mouseEnter
  221. enterButton
  222. mouseLeave
  223. buttonUp
  224. leaveButton
  225. keyUp
  226. keyDown
  227. enterButton
  228. p2keyb_button
  229. leaveButton
  230. mouseEnter
  231. p2mouse_button
  232. p2keyb_button
  233. mouseLeave
  234. buttonUp
  235. Usemouse
  236. keyUp
  237. Usemouse
  238. keyDown
  239. p2keyb_button
  240. p2prev_button
  241. isCtrl
  242. isShift
  243. Button
  244. Button
  245. Button
  246. p2prev_button
  247. "Introduction"
  248. keyEnter
  249. B"p2prev_button"
  250. H, isShift, isCtrl
  251. B"p2mouse_button"
  252. B"p2keyb_button"
  253. keyUp
  254. buttonUp
  255. mouseEnter
  256. keyDown
  257. buttonUp
  258. Introduction
  259. keyUp
  260. Introduction
  261. mouseEnter
  262. p2prev_button
  263. keyDown
  264. p2mouse_button
  265. p2keyb_button
  266. isCtrl
  267. isShift
  268.   If you wish to use 
  269.   the mouse during
  270.   this session, click on
  271.   the mouse icon or
  272.   tab until it is red and 
  273.   press Enter. r. r.      
  274. buttonUp
  275. buttonUp
  276. sub1_bg
  277. Help_choice
  278. "Using This Book" 
  279. enterPage
  280. leavePage
  281. enterPage
  282. Using This Book
  283. leavePage
  284. Using This Book
  285. /3ZZ    
  286. "session_choice"
  287. buttonUp
  288. buttonUp
  289. session_choice
  290. RETURN
  291. intro_help
  292.    You were positioned at the session choice screen.
  293.    If you wish to use the keyboard to work with dates
  294.    position the mouse pointer over the keyboard and 
  295.    when it turns red, click it.
  296.    If you prefer the mouse, click the mouse icon on the 
  297.    computer. It will turn red when you are positioned 
  298.    correctly.
  299.    You may also tab until your choice is red and press
  300.    enter.
  301.    Using the mouse is greatly encouraged because of 
  302.    the flexability you gain.  By choosing the graphical 
  303.    route (choosing the mouse) you get a calendar display
  304.    that allows you to see and do more.  
  305.                cking' on a field means to put the mouse pointer 
  306.    on top of the field and pressing and releasing the left
  307.    mouse button.
  308.    'Double clicking' means pressing and releasing the 
  309.     left mouse button quickly.
  310.     Selecting means the same as 'clicking' or 'double -
  311.     clicking'.
  312.     Sometimes all you have to do is click and sometimes
  313.     you must double click. In this book, the only time you
  314.     must double-click is when you are at the calendar and
  315.     you wish to convert a day to Julian or Gregorian or    
  316.     you wish to 'range'  dates.
  317. Usekeyboard
  318. B"convert_to_jul"
  319. syslockScreen 
  320. B"convert_to_greg" 
  321. B"range" 
  322. "messageBox" 
  323. visable 
  324. "messagebox" 
  325. "askuser" 
  326. "entryfield" 
  327. convertGreg datein
  328. 4source_date, target_date
  329. Zworkmm, workdd, workyy, jday, leapyear, monthdays
  330. "31,28,31,30,31,30,31,31,30,31,30,31"
  331. k4 = 0 
  332. k100 <> 0) 
  333. k400 = 0)
  334.  < 01 
  335.  > 12)
  336. "Gregorian 
  337. " has 
  338. invalid 
  339. cannot be converted! Try 
  340.  = 29 
  341.  = 02
  342. . You entered 29 
  343. February!" \
  344.  * 30.55) + 
  345.  - 29.9 
  346.  > 2 
  347.  < 10
  348. "00" 
  349.  < 100 
  350. r: " 
  351. " Julian 
  352. r: " 
  353. convertJul 
  354. , i, 
  355. "31,28,31,30,31,30,31,31,30,31,30,31"
  356. k4 = 0 
  357. k100 <> 0) 
  358. k400 = 0)
  359.  < 001 
  360.  > 366)) 
  361.  < 001 
  362.  > 365))
  363. another. " \
  364.  = 366
  365.  + 1)
  366. dateout 
  367.  < 10 
  368.  < 32 
  369. r: " 
  370. r: " 
  371. calcDiff datelo, datehi
  372. Zi, diff, holdyr, yearhi, yearlo, dayhi, daylo, 
  373. "31,28,31,30,31,30,31,31,30,31,30,31"
  374. -- Validate low 
  375. k4 = 0 
  376. k100 <> 0) 
  377. k400 = 0)
  378.      < 01 
  379.      > 12)
  380. "Low 
  381.  = 29 
  382.  = 02
  383. -- Send 
  384. k4 = 0 
  385. k100 <> 0) 
  386. k400 = 0)
  387.  < 01 
  388.  > 12)
  389. "High 
  390.  = 29 
  391.  = 02
  392.  high 
  393. -- Compute difference between 
  394. dates 
  395. Foutput 
  396.  - 1 
  397. k4 = 0 
  398. k100 <> 0) 
  399. k400 = 0)
  400. ) - 1 
  401.  < 0 
  402.  * -1) - 2
  403.  < 0 
  404. "Start 
  405. r: " 
  406. r: " 
  407. Number 
  408. selected 
  409. : " \
  410. enterPage
  411. convertGreg
  412. convertJul
  413. leavePage
  414. calcDiff
  415. keyChar
  416. enterPage
  417. convert_to_jul
  418. leavePage
  419. convert_to_jul
  420. convert_to_greg
  421. range
  422. messageBox
  423. messagebox
  424. visable
  425. messagebox
  426. askuser
  427. askuser
  428. visable
  429. askuser
  430. entryfield
  431. entryfield
  432. visable
  433. entryfield
  434. convertGreg
  435. 31,28,31,30,31,30,31,31,30,31,30,31
  436. visable
  437. Gregorian date 
  438.  has an invalid month and cannot be converted! Try again.
  439. messagebox
  440. entryfield
  441. visable
  442. convert_to_jul
  443. visable
  444. Gregorian date 
  445.  has an invalid day and cannot be converted! Try again.
  446. messagebox
  447. false
  448.  is not a leap year. You entered 29 days for February!
  449. messagebox
  450. entryfield
  451. visable
  452. convert_to_jul
  453. fffff
  454. range
  455. visable
  456. visable
  457. Gregorian date: 
  458.  Julian date: 
  459. convert_to_jul
  460. entryfield
  461. askuser
  462. messagebox
  463. workmm
  464. workdd
  465. workyy
  466. leapyear
  467. monthdays
  468. source_date
  469. target_date
  470. datein
  471. convertJul
  472. 31,28,31,30,31,30,31,31,30,31,30,31
  473. false
  474. visable
  475. Julian date 
  476.  is an invalid date and cannot be converted! Try another. 
  477. messagebox
  478. false
  479.  is not a leap year. You entered 366 days!
  480. messagebox
  481. entryfield
  482. visable
  483. convert_to_greg
  484. visable
  485. visable
  486. Julian date: 
  487.      Gregorian date: 
  488. convert_to_greg
  489. entryfield
  490. dateout
  491. askuser
  492. messagebox
  493. workmm
  494. workdd
  495. workyy
  496. leapyear
  497. monthdays
  498. source_date
  499. target_date
  500. datein
  501. calcDiff
  502. 31,28,31,30,31,30,31,31,30,31,30,31
  503. visable
  504. Low date 
  505.  has an invalid month and cannot be converted! Try again.
  506. messagebox
  507. entryfield
  508. visable
  509. range
  510. visable
  511. Low date 
  512.  has an invalid day and cannot be converted! Try again.
  513. messagebox
  514. false
  515.  is not a leap year. You entered 29 days for February!
  516. messagebox
  517. entryfield
  518. visable
  519. range
  520. convertGreg
  521. visable
  522. High date 
  523.  has an invalid month and cannot be converted! Try again.
  524. messagebox
  525. entryfield
  526. visable
  527. range
  528. visable
  529. High date 
  530.  has an invalid day and cannot be converted! Try again.
  531. messagebox
  532. false
  533.  is not a leap year. You entered 29 days for February!
  534. messagebox
  535. entryfield
  536. visable
  537. range
  538. convertGreg
  539. visable
  540. Start date: 
  541.       End date: 
  542.       Number of days between selected dates: 
  543. messagebox
  544. messagebox
  545. range
  546. entryfield
  547. askuser
  548. messagebox
  549. holdyr
  550. yearhi
  551. yearlo
  552. dayhi
  553. daylo
  554. workmm
  555. workdd
  556. leapyear
  557. workyy
  558. monthdays
  559. target_date
  560. datehi
  561. datelo
  562. keyChar
  563. askuser
  564. entryfield
  565. messagebox
  566. askuser
  567. visable
  568. askuser
  569. messagebox
  570. visable
  571. messagebox
  572. convert_to_jul
  573. convert_to_greg
  574. range
  575. convert_to_jul
  576. +4GZK
  577. KBL2Y
  578. L>/    e
  579. Picks_box
  580. h,visable
  581.        Convert to Julian
  582.        Convert to Gregorian
  583.       
  584.        Find range
  585. convert_to_jul
  586. 4source_date, target_date
  587. B"convert_to_jul" 
  588. B"range" 
  589. B"convert_to_greg" 
  590. "messagebox"
  591. visable 
  592. "askuser"
  593. "entryfield"
  594.  "Enter the Gregorian 
  595. MMDDYYYY:" \
  596. 0,100,0
  597. 0,100,0
  598. 0,50,100
  599. 0,100,0
  600. key, isShift
  601. B"p3prevbutton"
  602. keyEnter
  603. utton
  604. buttonUp
  605. leaveButton
  606. keyDown
  607. enterButton
  608. keyUp
  609. buttonUp
  610. convert_to_jul
  611. range
  612. convert_to_greg
  613. messagebox
  614. messagebox
  615. messagebox
  616. visable
  617. askuser
  618. askuser
  619. askuser
  620. visable
  621. entryfield
  622. Enter the Gregorian date to convert in format MMDDYYYY:
  623. messagebox
  624. messagebox
  625. messagebox
  626. visable
  627. entryfield
  628. askuser
  629. visable
  630. entryfield
  631. askuser
  632. source_date
  633. target_date
  634. enterButton
  635. convert_to_greg
  636. range
  637. leaveButton
  638. keyDown
  639. p3prevbutton
  640. isShift
  641. keyUp
  642. convert_to_jul
  643. convert_to_jul
  644. range
  645. convert_to_greg
  646. Enter the Gregorian date to convert in format MMDDYYYY:
  647. messagebox
  648. messagebox
  649. messagebox
  650. visable
  651. entryfield
  652. askuser
  653. visable
  654. convert_to_jul
  655. entryfield
  656. askuser
  657. source_date
  658. target_date
  659. Button
  660. convert_to_greg
  661. 4source_date, target_date
  662. B"convert_to_greg" 
  663. B"range" 
  664. B"convert_to_jul" 
  665. "messagebox"
  666. visable 
  667. "askuser"
  668. "entryfield"
  669.  "Enter the Julian 
  670. YYYYDDD:" \
  671. 0,100,0
  672. 0,100,0
  673. 0,50,100
  674. 0,100,0
  675. key, isShift
  676. keyEnter
  677. utton
  678. buttonUp
  679. leaveButton
  680. keyDown
  681. enterButton
  682. keyUp
  683. buttonUp
  684. convert_to_greg
  685. range
  686. convert_to_jul
  687. messagebox
  688. messagebox
  689. messagebox
  690. visable
  691. askuser
  692. askuser
  693. askuser
  694. visable
  695. entryfield
  696. Enter the Julian date to convert in format YYYYDDD:
  697. messagebox
  698. messagebox
  699. messagebox
  700. visable
  701. entryfield
  702. askuser
  703. visable
  704. entryfield
  705. askuser
  706. source_date
  707. target_date
  708. enterButton
  709. convert_to_jul
  710. range
  711. leaveButton
  712. keyDown
  713. convert_to_jul
  714. isShift
  715. keyUp
  716. convert_to_greg
  717. convert_to_greg
  718. range
  719. convert_to_jul
  720. Enter the Julian date to convert in format YYYYDDD:
  721. messagebox
  722. messagebox
  723. messagebox
  724. visable
  725. entryfield
  726. askuser
  727. visable
  728. convert_to_greg
  729. entryfield
  730. askuser
  731. Button
  732. range
  733. 4source_date, target_date
  734. B"range" 
  735. B"convert_to_greg" 
  736. B"convert_to_jul" 
  737. "messagebox"
  738. visable 
  739. "askuser"
  740. "entryfield"
  741.  "Enter the 
  742. MMDDYYYY:" \
  743. 0,100,0
  744. 0,100,0
  745. 0,50,100
  746. 0,100,0
  747. key, isShift
  748. keyEnter
  749. utton
  750. buttonUp
  751. leaveButton
  752. keyDown
  753. enterButton
  754. keyUp
  755. buttonUp
  756. range
  757. convert_to_greg
  758. convert_to_jul
  759. messagebox
  760. messagebox
  761. messagebox
  762. visable
  763. askuser
  764. askuser
  765. askuser
  766. visable
  767. entryfield
  768. Enter the start date of range in format MMDDYYYY:
  769. messagebox
  770. messagebox
  771. messagebox
  772. visable
  773. entryfield
  774. askuser
  775. visable
  776. entryfield
  777. askuser
  778. source_date
  779. target_date
  780. enterButton
  781. convert_to_jul
  782. convert_to_greg
  783. leaveButton
  784. keyDown
  785. convert_to_greg
  786. isShift
  787. keyUp
  788. range
  789. range
  790. convert_to_greg
  791. convert_to_jul
  792. Enter the start date of range in format MMDDYYYY:
  793. messagebox
  794. messagebox
  795. messagebox
  796. visable
  797. entryfield
  798. askuser
  799. visable
  800. range
  801. entryfield
  802. askuser
  803. source_date
  804. target_date
  805. Button
  806. p3prevbutton
  807. "session_choice"
  808. keyEnter
  809. B"convert_to_greg" 
  810. 0,100,0
  811. B"range" 
  812. 0,100,0
  813. B"convert_to_jul" 
  814. 0,100,0
  815. , isShift
  816. keyUp
  817. buttonUp
  818. enterButton
  819. keyDown
  820. buttonUp
  821. session_choice
  822. keyUp
  823. session_choice
  824. enterButton
  825. convert_to_greg
  826. range
  827. convert_to_jul
  828. keyDown
  829. range
  830. convert_to_jul
  831. isShift
  832. Messagebox
  833. Kvisable
  834. false
  835. askuser
  836. .Lvisable
  837. false
  838. entryfield
  839. 4source_date, target_date
  840. " = keyEnter \
  841. B"convert_to_jul" 
  842. entryfield) = 8
  843. "askuser"
  844. "messagebox"
  845. convertGreg 
  846. "Usekeyboard"
  847. "Please enter 8 
  848. %follows: MMDDYYYY" \
  849. B"convert_to_greg" 
  850. convertJul 
  851. key = 
  852. YYYYDDD" \
  853. B"range" 
  854. visable 
  855. calcDiff 
  856. syslockScreen 
  857. < 48 
  858. "Only numeric 
  859. Tplease!" \
  860. press escape!" \
  861. keyChar
  862. keyChar
  863. convert_to_jul
  864. askuser
  865. messagebox
  866. convertGreg
  867. Usekeyboard
  868. convert_to_jul
  869. messagebox
  870. Please enter 8 characters as follows: MMDDYYYY
  871. messagebox
  872. entryfield
  873. convert_to_greg
  874. askuser
  875. messagebox
  876. convertJul
  877. Usekeyboard
  878. convert_to_greg
  879. messagebox
  880. Please enter 7 characters as follows: YYYYDDD
  881. messagebox
  882. entryfield
  883. range
  884. Enter the end date of the range in format MMDDYYYY:
  885. messagebox
  886. messagebox
  887. messagebox
  888. visable
  889. entryfield
  890. askuser
  891. visable
  892. range
  893. askuser
  894. messagebox
  895. oLBcalcDiff
  896. Usekeyboard
  897. range
  898. messagebox
  899. Please enter 8 characters as follows: MMDDYYYY
  900. messagebox
  901. entryfield
  902. askuser
  903. entryfield
  904. messagebox
  905. askuser
  906. visable
  907. askuser
  908. messagebox
  909. visable
  910. messagebox
  911. convert_to_jul
  912. convert_to_greg
  913. range
  914. convert_to_jul
  915. messagebox
  916. Only numeric characters please!
  917. messagebox
  918.   Try again or press escape!
  919. messagebox
  920. messagebox
  921. messagebox
  922. askuser
  923. entryfield
  924. source_date
  925. target_date
  926. Yvisable
  927. false
  928.    Tab until box
  929.    you want is 
  930.    red and press
  931.    Enter or click
  932.    with mouse.
  933.    Press Escape
  934.    at any point to
  935.    terminate your
  936.    actions and
  937.    start over.
  938. session_choice
  939. Usemouse
  940. 4currmo, curryear, setup
  941. "frame"
  942. "m,y"
  943. displayDate 
  944. buildcal 
  945. visable 
  946. "messagebox" 
  947. B"convert" 
  948. "Usemouse" 
  949. B"range" 
  950. "messageBox" 
  951. enterPage
  952. leavePage
  953. enterPage
  954. setup
  955. frame
  956. displayDate
  957. frame
  958. oHSbuildcal
  959. frame
  960. currmo
  961. curryear
  962. setup
  963. leavePage
  964. messagebox
  965. visable
  966. messagebox
  967. convert
  968. Usemouse
  969. range
  970. Usemouse
  971. messageBox
  972. Usemouse
  973. p3prevbutt
  974. "session_choice"
  975. keyEnter
  976. buttonUp
  977. keyUp
  978. buttonUp
  979. session_choice
  980. keyUp
  981. session_choice
  982. Messagebox
  983. visable
  984. Number of days between selected dates: 363
  985. frame
  986. setup
  987. 4currmo, curryear, stilldown, 
  988. B"mobutton"
  989. %"m" 
  990. B"yrbutton" 
  991. buildcal m, y
  992. Ztotdays, wrkday, i
  993. weekDay(1, m, y)
  994. ? - 1
  995. daysInMonth(m)
  996.  d, m, y
  997. 4leapyear
  998. Zmfactor, cfactor
  999. Zday1, yr
  1000. k4 = 0 
  1001. k100 <> 0) 
  1002. k400 = 0)
  1003. "034025036146"
  1004. "144025036146"
  1005. y >= 1900 
  1006. y <= 1999
  1007. y >= 1700 
  1008. y <= 1799
  1009. y >= 1800 
  1010. y <= 1899
  1011. y >= 2000 
  1012. y <= 2099
  1013. y >= 2100 
  1014. y <= 2199
  1015. (yr + (yr 
  1016. y4) + 
  1017.  + d + 
  1018. m <> 2
  1019. "31,28,31,30,31,30,31,31,30,31,30,31"
  1020. displayDate m, y
  1021. %"M" 
  1022. buildcal
  1023. setup
  1024. displayDate
  1025. weekDay
  1026. daysInMonth
  1027. setup
  1028. mobutton
  1029. yrbutton
  1030. currmo
  1031. curryear
  1032. stilldown
  1033. setup
  1034. buildcal
  1035. weekDay
  1036. daysInMonth
  1037. totdays
  1038. wrkday
  1039. weekDay
  1040. 034025036146
  1041. 144025036146
  1042. mfactor
  1043. cfactor
  1044. leapyear
  1045. daysInMonth
  1046. 31,28,31,30,31,30,31,31,30,31,30,31
  1047. leapyear
  1048. displayDate
  1049. mobutton
  1050. yrbutton
  1051. CurrentMonth
  1052. 4currmo, curryear, setup
  1053. "frame"
  1054. "m,y"
  1055. displayDate 
  1056. buildcal 
  1057. buttonup
  1058. buttonup
  1059. setup
  1060. frame
  1061. displayDate
  1062. frame
  1063. oHSbuildcal
  1064. frame
  1065. currmo
  1066. curryear
  1067. setup
  1068.  Set Current Month
  1069. yrbutton
  1070. mobutton
  1071. January
  1072. Monthup
  1073. 4currmo, curryear, stilldown, setup
  1074. "frame"
  1075. B"yrbutton" = 2199 
  1076. B"mobutton" 
  1077. "December"
  1078.  > 12
  1079. displaydate 
  1080. buildcal 
  1081.  > 12
  1082. buttonup
  1083. buttonstilldown
  1084. buttonup
  1085. setup
  1086. frame
  1087. yrbutton
  1088. mobutton
  1089. December
  1090. displaydate
  1091. frame
  1092. oHSbuildcal
  1093. frame
  1094. currmo
  1095. curryear
  1096. stilldown
  1097. setup
  1098. buttonstilldown
  1099. setup
  1100. frame
  1101. yrbutton
  1102. mobutton
  1103. December
  1104. displaydate
  1105. frame
  1106. setup
  1107. currmo
  1108. curryear
  1109. stilldown
  1110. Yearup
  1111. 4currmo, curryear, stilldown, setup
  1112. "frame"
  1113. B"yrbutton" = 2199
  1114. displaydate 
  1115. buildcal 
  1116. buttonup
  1117. buttonstilldown
  1118. buttonup
  1119. setup
  1120. frame
  1121. yrbutton
  1122. displaydate
  1123. frame
  1124. oHSbuildcal
  1125. frame
  1126. currmo
  1127. curryear
  1128. stilldown
  1129. setup
  1130. buttonstilldown
  1131. setup
  1132. frame
  1133. yrbutton
  1134. displaydate
  1135. frame
  1136. setup
  1137. currmo
  1138. curryear
  1139. stilldown
  1140. Yeardown
  1141. 4currmo, curryear, stilldown, setup
  1142. "frame"
  1143. B"yrbutton" = 1700
  1144. displaydate 
  1145. buildcal 
  1146. buttonup
  1147. buttonstilldown
  1148. buttonup
  1149. setup
  1150. frame
  1151. yrbutton
  1152. displaydate
  1153. frame
  1154. oHSbuildcal
  1155. frame
  1156. currmo
  1157. curryear
  1158. stilldown
  1159. setup
  1160. buttonstilldown
  1161. setup
  1162. frame
  1163. yrbutton
  1164. displaydate
  1165. frame
  1166. setup
  1167. currmo
  1168. curryear
  1169. stilldown
  1170. Monthdown
  1171. 4currmo, curryear, stilldown, setup
  1172. "frame"
  1173. B"yrbutton" = 1700 
  1174. B"mobutton" 
  1175. "January"
  1176. displaydate 
  1177. buildcal 
  1178. buttonup
  1179. buttonstilldown
  1180. buttonup
  1181. setup
  1182. frame
  1183. yrbutton
  1184. mobutton
  1185. January
  1186. displaydate
  1187. frame
  1188. oHSbuildcal
  1189. frame
  1190. currmo
  1191. curryear
  1192. stilldown
  1193. setup
  1194. buttonstilldown
  1195. setup
  1196. frame
  1197. yrbutton
  1198. mobutton
  1199. January
  1200. displaydate
  1201. frame
  1202. setup
  1203. currmo
  1204. curryear
  1205. stilldown
  1206.  Double click on a day on 
  1207.  the calendar to convert
  1208.  it to Julian. Double click
  1209.  again to change it back. 
  1210.      
  1211.       
  1212.      
  1213. calendar_body
  1214. buttonDoubleclick
  1215. 4daylo, dayhi, leapyear, currmo, yearlo, yearhi
  1216. Zworkday, jday, diffdays
  1217. B"convert" 
  1218. B"range" 
  1219. "Pick one 
  1220. the options above" 
  1221. "messagebox"
  1222. visable 
  1223. >= "j"
  1224. calcGreg(
  1225.  * 30.55) + (
  1226. >) - 29.9 
  1227.  > 2 
  1228.  - 1 
  1229.  - 1 
  1230.  < 10
  1231. "00" 
  1232.  < 100 
  1233. B"yrbutton" 
  1234. calcDiff(
  1235. "Number 
  1236.  between selected dates: " \
  1237. Zi, leapind, 
  1238. , holdyr
  1239.  - 1 
  1240. k4 = 0 
  1241. k100 <> 0) 
  1242. k400 = 0)
  1243. ) - 1 
  1244.  < 0 
  1245.  * -1) - 2
  1246.  < 0 
  1247. "31,28,31,30,31,30,31,31,30,31,30,31") \
  1248.  > 2 
  1249.  - 1 
  1250.  = 1 
  1251.  < 10
  1252.  = 1 
  1253. buttonDoubleclick
  1254. calcDiff
  1255. calcGreg
  1256.     buttonDoubleclick
  1257. convert
  1258. range
  1259. Pick one of the options above
  1260. messagebox
  1261. messagebox
  1262. visable
  1263. messagebox
  1264. calcGreg
  1265. fffff
  1266. range
  1267. yrbutton
  1268. yrbutton
  1269. calcDiff
  1270. messagebox
  1271. visable
  1272. messagebox
  1273. Number of days between selected dates: 
  1274. messagebox
  1275. messagebox
  1276. workday
  1277. diffdays
  1278. daylo
  1279. dayhi
  1280. leapyear
  1281. currmo
  1282. yearlo
  1283. yearhi
  1284. calcDiff
  1285. leapind
  1286. holdyr
  1287. yearhi
  1288. dayhi
  1289. yearlo
  1290. daylo
  1291. calcGreg
  1292. 31,28,31,30,31,30,31,31,30,31,30,31
  1293. currmo
  1294. leapyear
  1295. workday
  1296. Messagebox
  1297. Bvisable
  1298. Picks_box
  1299. Cvisable
  1300.        Convert to Julian
  1301.        
  1302.        Find range
  1303. convert
  1304. 4dayhi, daylo, yearhi, yearlo
  1305. B"convert" 
  1306. B"range" 
  1307. buttonUp
  1308. buttonUp
  1309. convert
  1310. range
  1311. dayhi
  1312. daylo
  1313. yearhi
  1314. yearlo
  1315. Button
  1316. range
  1317. 4dayhi, daylo, yearhi, yearlo
  1318. B"range" 
  1319. B"convert" 
  1320. buttonUp
  1321. buttonUp
  1322. range
  1323. convert
  1324. dayhi
  1325. daylo
  1326. yearhi
  1327. yearlo
  1328. Button
  1329. ResetMonth
  1330. 4currmo, curryear, setup
  1331. buildcal 
  1332. "frame"
  1333. buttonup
  1334. buttonup
  1335. oHSbuildcal
  1336. frame
  1337. currmo
  1338. curryear
  1339. setup
  1340.  Reset Month
  1341. buttonUp
  1342. buttonUp
  1343. ssion_choi
  1344. Usekeyboard
  1345. Help_intro
  1346. "Using This &Book" 
  1347. enterPage
  1348. leavePage
  1349. enterPage
  1350. Using This &Book
  1351. leavePage
  1352. Using This &Book
  1353. "Introduction"
  1354. buttonUp
  1355. buttonUp
  1356. Introduction
  1357. RETURN
  1358. intro_help
  1359.       Your were positioned at the introduction screen. All   
  1360.   you have to do to get started is position the mouse 
  1361.   pointer on the button called NEXT at the bottom of the 
  1362.   introduction screen and press the left mouse button. 
  1363.   Listed below is some of the terminology that will be 
  1364.   used in this book. If you are new to personal computing
  1365.   you can review this material to assist you in your use
  1366.   of this book. Even experienced users are encouraged
  1367.   to review the help screens for the date conversion 
  1368.   screens. 
  1369.   The mouse pointer is usually an arrow on your screen
  1370.   that moves when you move the mouse. 
  1371.   'Clicking' on a field means to put the mouse pointer 
  1372.    on top of the field and pressing and releasing the left
  1373.    mouse button.
  1374.    'Double clicking' means pressing and releasing the 
  1375.     left mouse button quickly.
  1376.     Selecting means the same as 'clicking' or 'double -
  1377.     clicking'.
  1378.     Sometimes all you have to do is click and sometimes
  1379.     you must double click. In this book, the only time you
  1380.     must double-click is when you are at the calendar and
  1381.     you wish to convert a day to Julian or Gregorian or    
  1382.     you wish to 'range'  dates.
  1383.