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