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