Difference between revisions of "AMOSi:Peek$"
Spellcoder (talk | contribs) (Extracted from the AMOSPro V2.00 helpfile) |
Spellcoder (talk | contribs) m (1 revision(s)) |
(No difference)
|
Latest revision as of 01:51, 17 November 2007
PEEK$ reads length characters from your address and returns it as a normal AMOS string.
s$=PEEK$(address, length)
S$=PEEK$(address, length,stop$)
address is the location of the first character to be read.
length holds the maximum number of characters to copy into the new string. If it's not a sensible value, the length will be assumed to be 65500.
stop$ sets an optional break character. If it's included, AMOS will stop reading the moment it encounters a stop$ character in your memory area.