mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-05 19:30:56 +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
|
|
;
|