|
PeekBankWord | ||
WordValue = PeekBankWord(BankNumber, AddressOffset) | ||
Parameters: BankNumber = The Index Identifier of the bank that you wish to peek AddressOffset = The Address where you want to read this data from within the bank |
||
Returns: WordValue = The Word value that was read from this bank |
||
PeekBankWord allows you to peek (read) a 16bit integer value from a memory bank. FACTS: * 16Bit words and represent a numeric range from 0 to 65535 * 16bit words values are NOT signed. * 16bit words are 2 bytes wide * Two 16bit words are the same length as 32bit Integer. Mini Tutorial: This simple example Create a bank, pokes some WORD values into and then peek and display them.
This example would output.
|
Related Info: | CreateBank | PeekBankByte | PeekBankFloat | PeekBankInt | PeekBankString | pointer | PokeBankByte | PokeBankFloat | PokeBankInt | PokeBankString | PokeBankWord : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |