home *** CD-ROM | disk | FTP | other *** search
/ Programmer's ROM - The Computer Language Library / programmersrom.iso / ada / online / help.ex3 < prev    next >
Encoding:
Text File  |  1988-05-03  |  21.2 KB  |  646 lines

  1. -- A user of the Ada Software Repository on SIMTEL20 recently complained
  2. -- to the ADA-SW mailing list of having problems in compiling the TRACKER
  3. -- management tool.  His problem may not be unique, and, in the interest
  4. -- of trying to help him and other users who may be encountering similar
  5. -- problems, I have prepared the following terminal session.  It illustrates
  6. -- the steps I took in investigating his problem.
  7.  
  8. -- The following terminal session was recorded on the NOSC-TECR DDN host
  9. -- computer (in San Diego, I believe).  The FTP session illustrates the
  10. -- speed of FTP between SIMTEL20 (in White Sands, New Mexico) and NOSC-TECR.
  11. -- All work is done as a "normal" user (without using my priveleged account).
  12. -- The commands required by your particular FTP server may not be the same
  13. -- as the commands I am using in this demonstration -- FTP servers differ
  14. -- widely -- but this should be generic enough to allow you to figure out
  15. -- what your particular commands are.
  16.  
  17. -- My comments are on lines prefixed with "--" (like these).  All other lines
  18. -- are extracted from the transmission from NOSC-TECR with much extraneous
  19. -- detail edited out (to prevent this text from being too long).
  20.  
  21.             -- Rick Conn, 27 Feb 86
  22.  
  23. -- The first step I took in looking at the TRACKER problem was to
  24. -- identify the program referred to.  I had the following hints:
  25. -- it was named TRACKER and it was a Management tool
  26.  
  27. -- From NOSC-TECR, I ran the online documentation system for the
  28. -- Ada Repository.  I had copied the programs and data base over to
  29. -- NOSC-TECR from SIMTEL20 earlier, compiled the programs, and initialized
  30. -- the data base as per the documentation.  See PD:<ADA.ONLINE-DOC>.
  31.  
  32. -- Upon first running the online documentation system, I saw the following
  33. -- top-level menu:
  34.  
  35. Ada                   AI                    APSE Interactive Mon  
  36. ANSI-LRM              Benchmarks            CM_Data               
  37. Compilation_Order     Components            Cross_Reference       
  38. Data Base Management  DDN                   Editors               
  39. Education             External_Tools        Forms_Generator       
  40. General               Graphical_Kernel_Sys  Management_Tools      
  41. Math_Library          Menu                  Message_Handling      
  42. Metrics               Miscellaneous_Tools   NOSC_Tools            
  43. Online_Documentation  Pager                 Pointers              
  44. Pretty_Printers       Program_Stubber       Simulation            
  45. Spelling_Checkers     Starter_Kit           Style_Checkers        
  46. Virtual_Terminal      WIS-ADA_Tools         
  47.  
  48.  
  49. -- My guess, which later proved to be correct, was that the TRACKER
  50. -- program would be under the topic of "Management_Tools", so I selected
  51. -- this topic as shown below.  Note that I only needed to type enough
  52. -- characters to be unique.
  53.  
  54.  
  55. Level  0 Menu: (Exit, Selection)  man
  56.  
  57. -- The selection "man" generated the following (white space omitted):
  58.  
  59. 1 Management_Tools
  60.  
  61. PD:<ADA.MANAGEMENT-TOOLS>
  62.  
  63.         This subdirectory contains tools for use in  managing  an  Ada
  64. software development project.  Status tracking and Manpower estimation
  65. tools are included.
  66.  
  67.    PD:<ADA.MANAGEMENT-TOOLS>
  68.                   Bytes(SZ)  
  69.  
  70.  MANAGE.CMM.1     1397(7)    
  71.    .PRO.1         3795(7)    
  72.  MANAGETR.DOC.1   25044(7)   
  73.  MANPOWER.DIS.1   167(7)     
  74.    .DOC.1         18973(7)   
  75.    .PRO.1         3795(7)    
  76.    .SRC.1         19412(7)   
  77.  PPLANNER.ABS.1   1594(7)    
  78.    .CMM.1         995(7)     
  79.    .DOC.1         144593(7)  
  80.    .PRO.1         3590(7)    
  81.    .SRC.1         394030(7)  
  82.    .TST.1         47041(7)   
  83.  PPLANNERS.DIS.1  178(7)     
  84.  PPLANNERT.DIS.1  410(7)     
  85.  TRACKDOC.DIS.1   67(7)      
  86.  TRACKER.DOC.1    262297(7)  
  87.    .INS.1         2924(7)    
  88.    .PRO.1         3795(7)    
  89.    .SRC.2         456782(7)  
  90.    .TST.1         37240(7)   
  91.  TRACKSRC.DIS.1   1432(7)    
  92.  
  93.  Total of 571 pages in 22 files
  94.  
  95. -- As a guess, TRACKER was probably what I was looking for.  Since I'm
  96. -- just interested in looking at the code and resolving the CALENDAR
  97. -- question, I did not bother to transfer all the TRACK*.* files to
  98. -- NOSC-TECR.  Instead, I only transferred the following:
  99. --
  100. --    TRACKER.INS -- probably installation instructions
  101. --    TRACKER.PRO -- the prologue (who wrote it and other good info)
  102. --    TRACKER.SRC -- probably the source code in pager format since
  103. --        there are no TRACKER.ADA files
  104. --    TRACKER.TST -- probably test routines or data
  105. --
  106. -- FYI, I also looked for TRACKER in the next lower menu:
  107.  
  108. Level  0 Topic: 1 Management_Tools (Print, Exit, Up, Last, Menu)  m
  109. Cost_Estimation       General_Management    Manpower              
  110. Project_Tracking      
  111.  
  112.  
  113. -- "Project_Tracking" is probably it.  For more detail:
  114.  
  115. Level  1 Menu: (Exit, Up, Selection)  proj
  116.  
  117. 2 Project_Tracking
  118.         General Management 
  119.  
  120. Author       : GTE Sylvania Systems Group 
  121.              : Western Division 
  122.  
  123. Keywords     : Tracking
  124.  
  125. Abstract     :
  126.  The TRACKR program tracks the progress within projects and 
  127. generates reports, estimates time to complete a project, 
  128. and estimates project requirements.  INPREP builds the data 
  129. file for TRACKR interactively and outputs error messages for 
  130. invalid data.  The MANPOWER program based on the Simple Boehm 
  131. Model produces manpower loading curves for several calculated 
  132. schedules based on the number of lines of code and type of 
  133. system. 
  134.  
  135. -- More than likely, this is what the user was referring to.  If I'm
  136. -- wrong, I can use the online doc system to look further.  Elapsed time
  137. -- in the online doc system so far: approx 2 minutes
  138.  
  139. -- I then exited the online doc system, moved into a directory I could
  140. -- work from, and then ran FTP to connect to SIMTEL20.  This directory
  141. -- was already set up with a blank Ada library to compile into.
  142.  
  143. -- The FTP session follows:
  144.  
  145. --   1. Run FTP and connect to SIMTEL20
  146. $ ftp simtel20
  147.  Connection Opened
  148.  Using 8-bit bytes.
  149. <SIMTEL20.ARPA FTP Server Process 5Z(46)-7 at Thu 27-Feb-86 19:23-MST
  150. nosc-tecr FTP User Process (Version 3.00)
  151.  
  152. --   2. Set my file type to ASCII
  153. *ascii
  154. <Type A ok.
  155.  
  156. --   3. Log in as a normal user (anonymous login)
  157. *login anonymous
  158. <ANONYMOUS user ok, send real ident as password.
  159. Password: 
  160. <User ANONYMOUS logged in at Thu 27-Feb-86 19:23-MST, job 8. 
  161.  
  162. --   4. Move to the target directory which contains the TRACKER files.
  163. -- Since I plan to extract only, no password is necessary.
  164. *cd pd:<ada.management-tools>
  165. <Default name accepted. Send password to connect to it.
  166.  
  167. --   5. Transfer the desired files: 
  168. --    TRACKER.SRC
  169. --    TRACKER.PRO
  170. --    TRACKER.INS
  171. --    TRACKER.TST
  172. *get tracker.src
  173. <Port 7.67 at host 26.1.0.35 accepted.
  174. <ASCII retrieve of PD:<ADA.MANAGEMENT-TOOLS>TRACKER.SRC.2 started.
  175. 443709 bytes in 146 seconds--24312 bps
  176. <Transfer completed. 456782 (8) bytes transferred.
  177. *get tracker.pro
  178. <Port 7.70 at host 26.1.0.35 accepted.
  179. <ASCII retrieve of PD:<ADA.MANAGEMENT-TOOLS>TRACKER.PRO.1 started.
  180. 3717 bytes in 1 seconds--29736 bps
  181. <Transfer completed. 3795 (8) bytes transferred.
  182. *get tracker.ins
  183. <Port 7.71 at host 26.1.0.35 accepted.
  184. <ASCII retrieve of PD:<ADA.MANAGEMENT-TOOLS>TRACKER.INS.1 started.
  185. 2836 bytes in 1 seconds--22688 bps
  186. <Transfer completed. 2924 (8) bytes transferred.
  187. *get tracker.tst
  188. <Port 7.72 at host 26.1.0.35 accepted.
  189. <ASCII retrieve of PD:<ADA.MANAGEMENT-TOOLS>TRACKER.TST.1 started.
  190. 36681 bytes in 15 seconds--19560 bps
  191. <Transfer completed. 37240 (8) bytes transferred.
  192.  
  193. -- Got them -- now exit
  194. *quit
  195. exit
  196.  
  197.  
  198. -- First, I'll look at TRACKER.PRO to overview the release info:
  199.  
  200. $ type tracker.pro
  201. -------- SIMTEL20 Ada Software Repository Prologue ------------
  202. --                                                           -*
  203. -- Unit name    : General Management 
  204. -- Version      : 1.0
  205. -- Contact      : Lt. Colonel Falgiano
  206. --              : ESD/SCW
  207. --              : Hanscom AFB, MA  01731
  208. -- Author       : GTE Sylvania Systems Group 
  209. --              : Western Division 
  210. --              : PO Box 7188  
  211. --              : San Diego, Ca 94039 
  212. -- DDN Address  :
  213. -- Copyright    : (c) 1985 GTE, Inc. 
  214. -- Date created : Dec. 1984 
  215. -- Release date : May  1985 
  216. -- Last update  : 
  217. --                                                           -*
  218. ---------------------------------------------------------------
  219. --                                                           -*
  220. -- Keywords     : 
  221. ----------------:
  222. --
  223. -- Abstract     : The TRACKR program tracks the progress within projects and 
  224. ----------------: generates reports, estimates time to complete a project, 
  225. ----------------: and estimates project requirements.  INPREP builds the data 
  226. ----------------: file for TRACKR interactively and outputs error messages for 
  227. ----------------: invalid data.  The MANPOWER program based on the Simple Boehm 
  228. ----------------: Model produces manpower loading curves for several calculated 
  229. ----------------: schedules based on the number of lines of code and type of 
  230. ----------------: system. 
  231. ----------------: 
  232. ----------------: 
  233. ----------------:
  234. ----------------: This tool was developed as a precursor for 
  235. ----------------: the WMCCS Information System (WIS).  An
  236. ----------------: executable version of the tool has been 
  237. ----------------: demonstrated.  This source code has sub-
  238. ----------------: sequently been recompiled but has not under-
  239. ----------------: gone extensive testing.
  240. ----------------:
  241. --                                                           -*
  242. ------------------ Revision history ---------------------------
  243. --                                                           -*
  244. -- DATE         VERSION AUTHOR                  HISTORY 
  245. -- 5/84            1.0                          Initial Release 
  246. --                                                           -*
  247. ------------------ Distribution and Copyright -----------------
  248. --                                                           -*
  249. -- This prologue must be included in all copies of this software.
  250. -- 
  251. -- This software is copyright by the author.
  252. -- 
  253. -- This software is released to the Ada community.
  254. -- This software is released to the Public Domain (note:
  255. --   software released to the Public Domain is not subject
  256. --   to copyright protection).
  257. -- Restrictions on use or distribution:  NONE
  258. --                                                           -*
  259. ----------------- Disclaimer ----------------------------------
  260. --                                                           -*
  261. -- This software and its documentation are provided "AS IS" and
  262. -- without any expressed or implied warranties whatsoever.
  263. --
  264. -- No warranties as to performance, merchantability, or fitness
  265. -- for a particular purpose exist.
  266. --
  267. -- Because of the diversity of conditions and hardware under
  268. -- which this software may be used, no warranty of fitness for
  269. -- a particular purpose is offered.  The user is advised to 
  270. -- test the software thoroughly before relying on it.  The user
  271. -- must assume the entire risk and liability of using this 
  272. -- software.
  273. --
  274. -- In no event shall any person or organization of people be
  275. -- held responsible for any direct, indirect, consequential
  276. -- or inconsequential damages or lost profits.
  277. --                                                          -*
  278. ----------------- END-PROLOGUE -------------------------------
  279.  
  280.  
  281. -- Next, I'll type out the installation instructions:
  282.  
  283. $ type tracker.ins
  284.  
  285.  
  286.  
  287. 1  INSTALLING TRACKER
  288.  
  289. 1.1  Changing TRACKER Parameters
  290.  
  291.      There are 3 parameters which may be modified before building  the
  292. executable  version  of  TRACKER.   These  parameters  are  located in
  293. package DATA_PKG,  file  DATAPKG.ADA.   The  parameters  describe  the
  294. working  calendar  of  the  company installing TRACKER and are used to
  295. predicting  the  completion  date  for  projects.   The  holidays  and
  296. vacation  days  are  evenly  distributed throughout the calendar year.
  297. The parameters are as follows:
  298.  
  299.     Name of Constant       Default  Description
  300.     ----------------       ------   -----------
  301.     DAYS_IN_WORK_WEEK        5      number of work days in the 7 day week
  302.     HOURS_IN_WORK_DAY        8.0    number of hours worked in 1 work day
  303.     WORK_DAYS_OFF_IN_YEAR   10      number of holidays and vacation days
  304.                                         on an average  
  305.  
  306.  
  307.      In order to change  the  constants,  the  person  installing  the
  308. software  must  edit  the  DATA_PKG  (contained  in file DATAPKG.ADA).
  309. After the parameters have been changed  to  the  desired  values,  the
  310. TRACKER executable image is now ready to be built.
  311.  
  312.  
  313.  
  314. 1.2  Compiling And Linking TRACKER
  315.  
  316.      If the system TRACKER is being installed on is a VAX,  the  files
  317. can  be compiled by submitting the command file called COMALL.COM.  If
  318. some other system is being used, the Ada files should be  compiled  in
  319. the following order:
  320.  
  321.         CALENDARS.ADA
  322.         CALENDARB.ADA
  323.         LISTPKGS.ADA
  324.         LISTPKGB.ADA
  325.         DATAPKG.ADA
  326.         VT100S.ADA
  327.         VT100B.ADA
  328.         PROMPTS.ADA
  329.         PROMPTB.ADA
  330.         TRACKER.ADA
  331.         INITTR.ADA
  332.         SETUPTR.ADA
  333.         MANDATA.ADA
  334.         PRIOR.ADA
  335.         CALCTIME.ADA
  336.         CHKPCT.ADA
  337.         FIXDATA.ADA
  338.         FIXRESET.ADA
  339.         FIXORIG.ADA
  340.         WRDATA.ADA
  341.         MENUDR.ADA
  342.  
  343.                                                                 Page 2
  344.  
  345.  
  346.         GETDATA.ADA
  347.         GLOBAL.ADA
  348.         AC.ADA
  349.         MS.ADA
  350.         PR.ADA
  351.         SS.ADA
  352.         EL.ADA
  353.         REPORT.ADA
  354.         CALCPCT.ADA
  355.         RCOMMENTS.ADA
  356.         RDATEDONE.ADA
  357.         RLISTEL.ADA
  358.         RLISTMS.ADA
  359.         RLISTPR.ADA
  360.         RLISTSS.ADA
  361.         RPAGE.ADA
  362.         RPARAM.ADA
  363.         RPCTBYSS.ADA
  364.         RPRINTED.ADA
  365.         RSUMMS.ADA
  366.         RSUMSS.ADA
  367.         RWORKBYSS.ADA
  368.         RWORKDIST.ADA
  369.  
  370.  
  371.      After all units have been successfully recompiled,  they  can  be
  372. linked together, forming the executable version.
  373.  
  374. -- Note that a compilation order is given, and there are modules named
  375. -- CALENDAR or something like that.  This may be the source of the
  376. -- problem.
  377.  
  378. -- I now need to examine the SRC file.  PAGER, another tool that I transferred
  379. -- from the Ada Repository earlier, is very convenient for doing this.
  380.  
  381. $ pager
  382. PAGER, Version 1.6
  383. Type HELP for Help
  384.  
  385. -- For illustration, these are the commands.  Only the first letter is
  386. -- required.
  387. PAGER> h
  388. PAGER Commands:
  389.  CHECK filename  --  Ada Check on File
  390.  LIST filename   --  List Names of Component Files
  391.  PAGE filename   --  Create Paged File
  392.  SCAN filename   --  List Files in Paged File
  393.  TOGGLE          --  Indicate Flag Settings
  394.  TOGGLE flag     --  Toggle Indicated Flag:
  395.                      Comment, Include File, or
  396.                      Verbose
  397.  UNPAGE filename --  Extract from Paged File
  398.  X (Exit)        --  Exit PAGER
  399.  
  400. -- I can SCAN the contents of TRACKER.SRC to obtain useful information
  401. -- for later.  Note the following from this listing:
  402. --    1) data on magnitude of the software
  403. --    2) names and sizes of the component files
  404. --    3) if you compare this listing with the installation instructions,
  405. --        you will note that the component files are stored in
  406. --        compilation order; I can probably compile the entire
  407. --        tool by simply issuing one compilation command on the
  408. --        TRACKER.SRC file; however, I am interested in the
  409. --        CALENDAR information
  410. PAGER> s tracker.src
  411. Input File: tracker.src
  412.   Ada Statements:   4343
  413.   Ada Comments:     3196
  414.   Text Lines:      13072
  415.   Checksum:          125
  416.   Component Files -- 
  417.     calendars.ada
  418.             29 Lines
  419.     calendarb.ada
  420.            237 Lines
  421.     listpkgs.ada
  422.             35 Lines
  423.     listpkgb.ada
  424.            322 Lines
  425.     datapkg.ada
  426.            257 Lines
  427.     vt100s.ada
  428.             18 Lines
  429.     vt100b.ada
  430.            844 Lines
  431.     prompts.ada
  432.             54 Lines
  433.     promptb.ada
  434.           2010 Lines
  435.     tracker.ada
  436.            155 Lines
  437.     inittr.ada
  438.             36 Lines
  439.     setuptr.ada
  440.             82 Lines
  441.     mandata.ada
  442.             70 Lines
  443.     prior.ada
  444.            209 Lines
  445.     calctime.ada
  446.            242 Lines
  447.     chkpct.ada
  448.             51 Lines
  449.     fixdata.ada
  450.            122 Lines
  451.     fixreset.ada
  452.            131 Lines
  453.     fixorig.ada
  454.             32 Lines
  455.     wrdata.ada
  456.             61 Lines
  457.     menudr.ada
  458.            218 Lines
  459.     getdata.ada
  460.             64 Lines
  461.     global.ada
  462.            138 Lines
  463.     ac.ada
  464.            684 Lines
  465.     ms.ada
  466.            567 Lines
  467.     pr.ada
  468.            853 Lines
  469.     ss.ada
  470.            519 Lines
  471.     el.ada
  472.           1304 Lines
  473.     report.ada
  474.            182 Lines
  475.     calcpct.ada
  476.            262 Lines
  477.     rcomments.ada
  478.             63 Lines
  479.     rdatedone.ada
  480.            369 Lines
  481.     rlistel.ada
  482.            253 Lines
  483.     rlistms.ada
  484.            331 Lines
  485.     rlistpr.ada
  486.            289 Lines
  487.     rlistss.ada
  488.            311 Lines
  489.     rpage.ada
  490.             46 Lines
  491.     rparam.ada
  492.            260 Lines
  493.     rpctbyss.ada
  494.            174 Lines
  495.     rprinted.ada
  496.             52 Lines
  497.     rsumms.ada
  498.            267 Lines
  499.     rsumss.ada
  500.            266 Lines
  501.     rworkbyss.ada
  502.            197 Lines
  503.     rworkdist.ada
  504.            274 Lines
  505.  
  506. -- Now to extract the components from TRACKER.SRC; I have to extract
  507. -- all of them, but PAGER is fast and it does not take long.  Note the
  508. -- file names with the "--" prefix; it really appears that TRACKER.SRC
  509. -- was designed to be compiled without component separation being
  510. -- necessary
  511. PAGER> u tracker.src
  512.      --calendars.ada
  513.             29 Lines
  514.      --calendarb.ada
  515.            237 Lines
  516.      --listpkgs.ada
  517.             35 Lines
  518.      --listpkgb.ada
  519.            322 Lines
  520.      --datapkg.ada
  521.            257 Lines
  522.      --vt100s.ada
  523.             18 Lines
  524.      --vt100b.ada
  525.            844 Lines
  526.      --prompts.ada
  527.             54 Lines
  528.      --promptb.ada
  529.           2010 Lines
  530.      --tracker.ada
  531.            155 Lines
  532.      --inittr.ada
  533.             36 Lines
  534.      --setuptr.ada
  535.             82 Lines
  536.      --mandata.ada
  537.             70 Lines
  538.      --prior.ada
  539.            209 Lines
  540.      --calctime.ada
  541.            242 Lines
  542.      --chkpct.ada
  543.             51 Lines
  544.      --fixdata.ada
  545.            122 Lines
  546.      --fixreset.ada
  547.            131 Lines
  548.      --fixorig.ada
  549.             32 Lines
  550.      --wrdata.ada
  551.             61 Lines
  552.      --menudr.ada
  553.            218 Lines
  554.      --getdata.ada
  555.             64 Lines
  556.      --global.ada
  557.            138 Lines
  558.      --ac.ada
  559.            684 Lines
  560.      --ms.ada
  561.            567 Lines
  562.      --pr.ada
  563.            853 Lines
  564.      --ss.ada
  565.            519 Lines
  566.      --el.ada
  567.           1304 Lines
  568.      --report.ada
  569.            182 Lines
  570.      --calcpct.ada
  571.            262 Lines
  572.      --rcomments.ada
  573.             63 Lines
  574.      --rdatedone.ada
  575.            369 Lines
  576.      --rlistel.ada
  577.            253 Lines
  578.      --rlistms.ada
  579.            331 Lines
  580.      --rlistpr.ada
  581.            289 Lines
  582.      --rlistss.ada
  583.            311 Lines
  584.      --rpage.ada
  585.             46 Lines
  586.      --rparam.ada
  587.            260 Lines
  588.      --rpctbyss.ada
  589.            174 Lines
  590.      --rprinted.ada
  591.             52 Lines
  592.      --rsumms.ada
  593.            267 Lines
  594.      --rsumss.ada
  595.            266 Lines
  596.      --rworkbyss.ada
  597.            197 Lines
  598.      --rworkdist.ada
  599.            274 Lines
  600. PAGER> x
  601.  
  602. -- Finally, CALENDARS.ADA was one of the files in question.  The
  603. -- listing follows, and, as you can see, the "missing" definitions
  604. -- are stored here.  I can only assume that the user made some
  605. -- error in transferring the files or compiling them.
  606.  
  607. $ type calendars.ada
  608. generic
  609.   DAYS_IN_WEEK : positive := 5;
  610.   HOURS_IN_DAY : float := 8.0;
  611.   DAYS_OFF_IN_YEAR : natural := 0;
  612.  
  613. package WORK_CALENDAR is
  614.   subtype YEAR_NUMBER is integer range 1901..2099;
  615.   subtype MONTH_NUMBER is integer range 1..12;
  616.   subtype DAY_NUMBER is integer range 1..31;
  617.   subtype HOUR_NUMBER is float range 0.0..HOURS_IN_DAY;
  618.   type DATE_TYPE is record
  619.     MONTH : month_number;
  620.     DAY : day_number;
  621.     YEAR : year_number;
  622.   end record;
  623.  
  624.   NULL_DATE : constant date_type := (2,31,1902);
  625.   UNDERFLOW_DATE : constant date_type := (2,30,1901);
  626.  
  627.   function "+"  (DATE : in date_type; HOURS : in float) return DATE_TYPE;
  628.   function "+"  (HOURS : in float; DATE : in date_type) return DATE_TYPE;
  629.   function "-"  (DATE : in date_type; HOURS : in float) return DATE_TYPE;
  630.   function "-"  (DATE1, DATE2 : in date_type) return float;
  631.   function "<"  (DATE1, DATE2 : in date_type) return boolean;
  632.   function "<=" (DATE1, DATE2 : in date_type) return boolean;
  633.   function ">"  (DATE1, DATE2 : in date_type) return boolean;
  634.   function ">=" (DATE1, DATE2 : in date_type) return boolean;
  635.   function VALID (MONTH, DAY, YEAR : in integer) return boolean;
  636. end WORK_CALENDAR;
  637.  
  638.  
  639. -- The total elapsed time for this session was under 30 minutes.
  640. -- I hope this answers many questions and clarifies some points.
  641. -- There are other terminal sessions and several document files in
  642. -- the Ada Repository on SIMTEL20 which were also designed to show
  643. -- you how to do this.  It is just a matter of reading through the
  644. -- files in GENERAL and the Welcome message.
  645.  
  646.