File TRECH.PC

Directory of image this file is from
This file as a plain text file

[DEKLARATION:   PRIMZAHL: FELD(1..500) VON GANZ
                 N,ZAEHLER,X, TEILER   VON GANZ
               ZEIGER: FELD(1..4)      VON ZEICH]
BEGINN
SCHREIBE"DIESES PROGRAMM DRUCKT ALLE PRIMZAHLEN UND 
SCHREIBE"PRIMZAHLZWILLINGE VON 1 BIS :"!;LIES X;
N:=1;
PRIMZAHL(1):=2;
SCHREIBE"2";
FUER
FUER ZAEHLER :=3 BIS X SCHRITT 2
                 FUEHRE @TEST(ZEIGER,ZAEHLER)
                 WENN ZEIGER= "JA"
                 DANN BEGINN N:=N+1;
            PRIMZAHL(N):=ZAEHLER;
                 SCHREIBE ZAEHLER;
AUS ENDE
ENDE



Feel free to contact me, David Gesswein djg@pdp8online.com with any questions, comments on the web site, or if you have related equipment, documentation, software etc. you are willing to part with.  I am interested in anything PDP-8 related, computers, peripherals used with them, DEC or third party, or documentation. 

PDP-8 Home Page   PDP-8 Site Map   PDP-8 Site Search