mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-24 02:08:06 +11:00
2e9e7047bf
This should allow me to simplify LOAD's exit mechanism on block end.
8 lines
138 B
Plaintext
8 lines
138 B
Plaintext
: WS? 33 < ;
|
|
: EOT? 4 = ; ( 4 == ASCII EOT, CTRL+D )
|
|
|
|
: TOWORD
|
|
0 ( dummy ) BEGIN
|
|
DROP C< DUP WS? NOT OVER EOT? OR
|
|
UNTIL ;
|