![]() ![]() ![]() |
|
PeekByte | ||
ByteValue = PeekByte(Address) | ||
Parameters: Address = The Address in memory where this data should be read |
||
Returns: ByteValue = The byte value that was read |
||
The PeekByte function will read a byte directly from memory. FACTS: * You can peek any memory location. * Care must be taken when reading directly from memory. Attempting to access memory that is not part of your program will most likely cause your program to crash. * Also See Pointer Mini Tutorial: This example creates a bank, grabs this banks memory address (the address of the first byte in memory), pokes various test values and strings into memory, then finally reads them back.
This example would output.
|
Related Info: | PeekFloat | PeekInt | PeekString | PeekWord | Pointer | PokeByte | PokeFloat | PokeInt | PokeString | PokeWord : |
|
|||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() |
(c) Copyright 2002 - 2025 - Kevin Picone - PlayBASIC.com |