mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-27 05:28:06 +11:00
b760c2d353
This makes [entry] much simpler. Also, remove unused LITS word.
16 lines
376 B
Plaintext
16 lines
376 B
Plaintext
Strings
|
|
|
|
LIT -- Write a LIT entry. You're expected to write
|
|
actual string to HERE right afterwards.
|
|
LIT< x -- Read following word and write to HERE as a
|
|
string literal.
|
|
S= a1 a2 -- f Returns whether string a1 == a2.
|
|
SCPY a -- Copy string at addr a into HERE, without
|
|
NULL termination.
|
|
|
|
|
|
|
|
|
|
|
|
|