f0cbda1f2e
Modest first step
11 lines
144 B
Forth
11 lines
144 B
Forth
: SLEN ( a -- n )
|
|
DUP ( astart aend )
|
|
BEGIN
|
|
DUP C@ 0 = IF -^ EXIT THEN
|
|
1 +
|
|
AGAIN
|
|
;
|
|
|
|
: LF 10 EMIT ;
|
|
: SPC 32 EMIT ;
|