mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-05 22:30:54 +11:00
8 lines
112 B
Forth
8 lines
112 B
Forth
|
: SLEN ( a -- n )
|
||
|
DUP ( astart aend )
|
||
|
BEGIN
|
||
|
DUP C@ 0 = IF -^ EXIT THEN
|
||
|
1 +
|
||
|
AGAIN
|
||
|
;
|