
RPBASIC-52 PROGRAMMING GUIDE
2-86
POKE$
Syntax: POKE$ segment,address,string
Where: segment = 0 to 7, specifies the 64K segment
address = 0 to 65535, location in segment to save to
string = string variable to save
Function: Save string variable to RAM memory.
Mode: Command,Run
Use: POKE$ 1,30000,$(1)
Cards: All
DESCRIPTION
POK E$ is used to save lite ral strings in RA M m emo ry. Strings of any length can be sav ed.
When poking several strings, memory should be divided into "blocks" equal to the length specified in the
STRING statement plus 1. POKE$ does not check to see if it is writing over other variable information.
WARNING: RPBASIC-52 does not check the address. It is possible to poke into the program, stack, or
variable areas. Results are unpredictable. Poke into mem ory above MT OP for safest
operation.
Refer to the POKEB statement for segment and address information.
POKE$ requires a string variable in order to w ork. If string is in quotes, a data error is returned.
RELATED
PEEK$
ERRORS
BAD SYNTAX If $, segment, ad dress, or data is missing.
BAD DATA If segment is > 7, address > 655 35 or negative , string not valid.
Komentarze do niniejszej Instrukcji