1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-07-27 03:50:20 +10:00
collapseos/forth/str.fs
2020-04-04 10:28:00 -04:00

8 lines
112 B
Forth

: SLEN ( a -- n )
DUP ( astart aend )
BEGIN
DUP C@ 0 = IF -^ EXIT THEN
1 +
AGAIN
;