home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / pascal / 5160 < prev    next >
Encoding:
Internet Message Format  |  1992-09-01  |  1.9 KB

  1. Path: sparky!uunet!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uunet.ca!canrem!dosgate![andrew.makiejewski@canrem.com]
  2. From: andrew.makiejewski@canrem.com (andrew makiejewski)
  3. Newsgroups: comp.lang.pascal
  4. Subject: xxx.ndx reading
  5. Message-ID: <1992Sep1.1009.8464@dosgate>
  6. Date: 2 Sep 92 00:47:43 GMT
  7. Reply-To: "andrew makiejewski" <andrew.makiejewski@canrem.com>
  8. Distribution: comp
  9. Organization: Canada Remote Systems
  10. Lines: 56
  11.  
  12.  
  13. Well trying to further my education and get into other TP programming areas
  14. for myself I decided I would like to try and write my own QWK packet mail
  15. utilities. Sure there are all sorts out there, but I want to make my own
  16. and learn in the process.
  17.  
  18. Well I started with trying to read in the index files for a conference
  19. and used the program examples that are all around for converting the
  20. microsoft basic format to Turbo Pascal Real format. Well I am not sure
  21. if it is working correctly, but the values I get are in an increasing
  22. order.
  23.  
  24. Well here is what the 001.NDX file has and the output I get from my
  25. test program.
  26.  
  27. 001.NDX
  28.  
  29. 00 00 00 82 01 00 00 00-83 01 00 00 30 84 01 00
  30. 00 10 85 01 00 00 50 85-01 00 00 04 86 01 00 00
  31. 3C 86 01 00 00 50 86 01-00 00 64 86 01 00 00 7C
  32. 86 01 00 00 0A 87 01 00-00 14 87 01 00 00 22 87
  33. 01 00 00 2A 87 01 00 00-44 87 01 00 00 4A 87 01
  34. 00 00 54 87 01
  35. 0A
  36.  
  37. Now my TP program gave this out:
  38.  
  39. 2.00E+0
  40. 4.00E+0
  41. 1.100E+1
  42. 1.800E+1
  43. 2.600E+1
  44. 3.300E+1
  45. 4.700E+1
  46. 5.200E+1
  47. 5.700E+1
  48. 6.300E+1
  49. 6.900E+1
  50. 7.400E+1
  51. 8.100E+1
  52. 8.500E+1
  53. 9.800E+1
  54. 1.0100E+2
  55. 1.0600E+2
  56.  
  57. Can anyone tell me if the above output is correct. If it is the index
  58. values to not correspond to the correct meesage in the messages.dat
  59. file. SO what have I messed up this time.
  60.  
  61. Andrew.                      Andrew.Makiejewski@canrem.uucp 
  62. Entered Aug 31,92 at 23:32:46 on CRS from Toronto, Ontario, Canada.
  63. ---
  64.  ~ PMDBM  V1.75a #33 ~
  65. --
  66. Canada Remote Systems  - Toronto, Ontario/Detroit, MI
  67. World's Largest PCBOARD System - 416-629-7000/629-7044
  68.