1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-09-08 04:38:45 +10:00
collapseos/forth/str.fs

8 lines
112 B
Forth
Raw Normal View History

2020-03-19 12:52:55 +11:00
: SLEN ( a -- n )
DUP ( astart aend )
BEGIN
DUP C@ 0 = IF -^ EXIT THEN
1 +
AGAIN
;