home *** CD-ROM | disk | FTP | other *** search
- PROGRAM NAME: Memdump.ASM and Memdump.BIN
-
- DESCRIPTION: Memdump.BIN displays dBASE III memory variables in
- hexadecimal and ASCII formats.
-
- ISSUE: [Not published in TechNotes.]
-
- SOFTWARE VERSIONS: dBASE III Developer's Release
- DOS version 2.0 or higher
-
- FUNCTION: This program displays memory variables as they appear,
- byte for byte, in memory. It prints the segment and offset
- address on the left side of the screen, followed by 16 bytes in
- hexadecimal, followed by the ASCII equivalent of the 16 bytes.
- It displays eight lines every time it is called, beginning with
- the length descriptor of the memory variable passed to it as a
- parameter.
-
- FILES NEEDED: Memdump.ASM (Memdump.BIN)
-
- SETUP INSTRUCTIONS: From the dot prompt or from within a
- program, issue the following command:
-
- LOAD Memdump
-
- Then set up memory variables, and call Memdump.
-
- STORE 'Hi there' TO mem1
- STORE SQRT(100.4859) TO mem2
- STORE .T. TO mem3
-
- CALL Memdump WITH mem1
-
- Memdump will display the 128 bytes beginning with the length
- descriptor of mem1.
-