|
PokeString | ||
PokeString Address, String$, Length | ||
Parameters: Address = The Address in memory where this data should be stored String$ = The string of characters you wish to store Length = The Number of characters you wish to store from this string. (length 0, creates a null terminated string) |
||
Returns: NONE | ||
The PokeString command will write a string of ASCII characters directly into memory. Setting the Length parameter to zero will store the string null terminated. (place a zero byte at the end of it) FACTS: * You can poke any memory location. * Care must be taken when writing/reading directly from memory. Attempting to access memory that is not part of (allocated by) your program will most likely cause the program to crash. * Also See Pointer Mini Tutorial: This example creates a bank, grabs this banks memory address (the address f 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 | PeekInt | PeekString | PeekWord | PokeByte | PokeFloat | PokeInt | PokeWord : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |