mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-20 22:38:06 +11:00
5d4155aa32
Saves quite a few bytes in the final binary.
8 lines
111 B
Forth
8 lines
111 B
Forth
: SLEN ( a -- n )
|
|
DUP ( astart aend )
|
|
BEGIN
|
|
DUP C@ 0 = IF -^ EXIT THEN
|
|
1+
|
|
AGAIN
|
|
;
|