|
PokeBankString | ||
PokeBankString BankNumber, AddressOffset, String$, Flag | ||
Parameters: BankNumber = The Index Identifier of the bank that you wish to poke AddressOffset = The Address where you want to write this data to within the bank String$ = The string you wish to store in this memory bank at the above address offset Flag = Null terminated |
||
Returns: NONE | ||
PokeBankString allows you to poke (store) a string of characters into a memory bank. Flag States: False (0) = No null character is poked after the string. True (1) = The String is stored with an extra null termination character of ZERO. FACTS: * Each character is stored in ASCII format and is a BYTE in size. So you can read/write the characters manually by using the PeekBankByte and PokeBankByte commands. * When a string is null terminated an extra zero byte is written into memory at the end. Mini Tutorial: This simple example creates a bank, stores the string "Hello World" in it, then reads this back again.
This example would output.
|
Related Info: | CreateBank | Dim | NewBank | PeekBankByte | PeekBankFloat | PeekBankInt | PeekBankString | PeekBankWord | Pointer | PokeBankByte | PokeBankFloat | PokeBankInt | PokeBankWord : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |