|
|
| PeekWord | ||
| WordValue = PeekWord(Address) | ||
| Parameters: Address = The Address in memory where this data should be read from |
||
| Returns: WordValue = The word value that was read |
||
The PeekWord function will read a word value 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: | PeekByte | PeekFloat | PeekInt | PeekString | PokeByte | PokeFloat | PokeInt | PokeString | PokeWord : |
|
|
|||||||||||||||||||||||||||||||||||||||
|
(c) Copyright 2002 - 2026 - Kevin Picone - PlayBASIC.com |