TriOS-alt/forth/words.mod
drohne235@googlemail.com a385171c9f - Integration von PropForth in TriOS
- Systemstart: Code für alle drei Chips kommen jetzt aus den EEPROMS
- Bellatrix: PASM-Loader
- Bellatrix: Multiscreen-Version (3 unabhängige Screens)
- Bellatrix: Egalisierte Steuerzeichen für bessere Nebenläufigkeit
2011-04-23 21:02:22 +00:00

17 lines
449 B
Modula-2

fl
\ _words ( cstr -- ) prints the words in the forth dictionary starting with cstr, 0 prints all
: _words lastnfa
begin
2dup swap dup if npfx else 2drop -1 then
if dup .strname space then
nfa>next dup 0=
until 2drop cr ;
\ words ( -- ) prints the words in the forth dictionary, if the pad has another string following, with that prefix
: words parsenw _xwords ;
: t1 1000 0 do i . loop ;
: t2 1000 0 do ." test " loop ;