home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / assemblr / mslang / dbhex / dbhex.doc < prev    next >
Text File  |  1993-04-03  |  2KB  |  71 lines

  1. Type
  2.  
  3. DBHEX < .dbf file name >
  4.  
  5. where < .dbf file name > is the name of a database file
  6. and press <ENTER>.
  7.  
  8. Entering the .DBF extension is optional.
  9.  
  10. For example, each of the following lines would be valid:
  11.  
  12.  
  13. DBHEX CUSTOMER
  14.  
  15. DBHEX CUSTOMER.DBF
  16.  
  17. DBHEX F:\PAYABLE\CUSTOMER.DBF
  18.  
  19. DBHEX F:\PAYABLE\CUSTOMER
  20.  
  21. DBHEX \PAYABLE\CUSTOMER
  22.  
  23.  
  24.  
  25. DBHEX is designed with the following type of folk in mind:
  26.  
  27. Programmers needing another external source to help confirm that
  28. their routines are accessing .DBF file bytes at the correct
  29. locations.  There are plenty of other utilties for this purpose,
  30. but many of them are part of larger programs and therefore may
  31. not fit on one's favorite utility diskette.
  32.  
  33. Beginning assembly language programmers, who just want some code
  34. to look at and play with, for fun or perhaps to decide for sure
  35. whether assembly language is what they are looking for.
  36.  
  37. Programmers who are considering purchasing the Spontaneous
  38. Assembly Library by BaseTwo Development, and would like to see
  39. a non-trivial sample of the library's capabilities.  However,
  40. note that DBHEX references a fraction of the Spontaneous
  41. Assembly modules, and that it should not be considered a
  42. complete demonstration of the Spontaneous Assembly library.
  43.  
  44.  
  45.  
  46. DBHEX displays the contents of a dbase (.dbf) file in
  47. hexadecimal format, separating clearly the header information
  48. from field values.  Along the way, it displays record numbers in
  49. hex/decimal format, and the offset from the current 64K block
  50. showing what location in the dbase file the displayed bytes are
  51. being taken from.  It also shows, to the right of the
  52. hexadecimal characters, how these characters appear in ascii
  53. format.  If a hexadecimal character happens to be less than 20
  54. hex (32 dec), it's ascii interpretation on the right is a
  55. period.
  56.  
  57. It is assumed that the file specified is a valid .DBF file.
  58.  
  59. Many of the routines are dependent, for their correctness, on the
  60. current location of the file pointer.  For example,
  61. GET_AND_DISP_HEADER doesn't work correctly unless the pointer is
  62. at the beginning of the file.
  63.  
  64. Also note that much of the time, the file handle is required to
  65. be in BL.
  66.  
  67.  
  68. DBHEX was compiled in MASM 6.1.  I believe it is TASM
  69. compatible, as well.
  70.  
  71.