mirror of
https://github.com/hsoft/collapseos.git
synced 2024-09-08 08:08:45 +10: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
|
||
|
;
|