|
PeekBankByte | ||
ByteValue = PeekBankByte(BankNumber, AddressOffset) | ||
Parameters: BankNumber = The Index Identifier of the bank that you wish to peek AddressOffset = The Address you want to read this data from within the bank |
||
Returns: ByteValue = The BYTE value that was read from this bank |
||
PeekBankByte will peek (read) a 8bit integer value from a memory bank. FACTS: * Byte values can only represent a numeric range from 0 to 255 * Byte values are NOT signed. * Bytes contain 8 Bits. * Two Bytes are the same width as a 16bit Word. * Four Bytes are the same width as a 32bit Integer. Mini Tutorial: This simple example Create a bank, pokes some Byte values into and then peek and display them.
This example would output.
|
Related Info: | CreateBank | NewBank | PeekBankFloat | PeekBankInt | PeekBankString | PeekBankWord | PokeBankByte | PokeBankFloat | PokeBankInt | PokeBankString | PokeBankWord : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |