<< Click to Display Table of Contents >> Navigation: ThinBASIC Core Language > BuiltIn Functions > Memory handling and pointers > PeekHex$ |
Description
Return sequence of bytes, in HEX format, at a specified memory location.
Syntax
s = PEEKHex$(address, count)
Returns
String
Parameters
Name |
Type |
Optional |
Meaning |
Address |
Numeric |
No |
A valid 32-bit memory address specifying the location in memory where data retrieval should begin |
Count |
Numeric |
No |
A numeric expression that specifies the number of consecutive bytes to be read from memory starting at address. In case of ASCIIZ, if count is omitted the bytes till the next $NUL char will be automatically taken. |
Remarks
Restrictions
See also
STRPTR, VARPTR, POKE$, POKE, PEEK$, PEEK
Examples