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