Warning
You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
strings [2019/05/31 22:16] – [Using buffers] neils | strings [2019/08/02 21:58] – [Value assigment] neils | ||
---|---|---|---|
Line 47: | Line 47: | ||
a$ = "hello world" | a$ = "hello world" | ||
b$ = a$ | b$ = a$ | ||
- | rem -- replace the first character with an ' | + | rem -- replace the first character with an ' |
- | poke a$, 65 | + | poke a$, ' |
print b$ | print b$ | ||
rem -- the above will print "aello world" | rem -- the above will print "aello world" | ||
Line 92: | Line 92: | ||
a$ = @strbuffer! | a$ = @strbuffer! | ||
rem -- a$ now points to an empty string | rem -- a$ now points to an empty string | ||
+ | |||