File DREPT.PC

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

[DEKLARATION  NENNER,ANZAHL,X:GANZ
                          
                            A(A  FELD(1..15) VON ZEICH
                                 ZAEHLER:GANZ]
BEGINN
A(1):=3;
A(2):=8;
A(3):=3.3;
A(4):=19.5
;A(5):=19876;
A(6):=0.22233;
A(7):=7;
A(8):=18;
A(9):=0.87;
A(10)1OOOOO;
A(11):=11223;
A(12):=123;
A(13):=1348;
A(14):=1546;
A(15):=156;
ANZAHL:=0:
;NENNER:=2;
X:=1;
ZAEHLER:=A(1);
SOLANGE ZAEHLER<>0
TUE    WENN NENNER TEILT ZAEHLER
         DANN ANZAHL:=ANZAHL+1  
                           ^X:=X+1
           ;ZAEHLER :=A(X+1)
AUS
ENDE
*E
R BASIC



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