Category : Forth Source Code
Archive   : FIFTH.ZIP
Filename : BENCH.FIV

 
Output of file : BENCH.FIV contained in archive : FIFTH.ZIP
CREATE BENCH1
CREATE SIZE
EDIT
8190 constant size
~UP
CREATE FLAGS
EDIT
create flags
size allot
~UP
CREATE 10TIMES
EDIT
: 10times
10 0 do
bench1
loop
;
~UP
EDIT
: BENCH1
FLAGS SIZE 1 FILL
0 SIZE 0
DO FLAGS I + C@
IF I DUP + 3 + DUP I +
BEGIN DUP SIZE <
WHILE 0 OVER FLAGS + C! OVER +
REPEAT DROP DROP 1+
ENDIF
LOOP
. ." Primes " ;
~UP
ABORT


  3 Responses to “Category : Forth Source Code
Archive   : FIFTH.ZIP
Filename : BENCH.FIV

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/