|
DataMuseum.dkPresents historical artifacts from the history of: RegneCentralen RC700 "Piccolo" |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RegneCentralen RC700 "Piccolo" Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - download
Length: 512 (0x200) Types: TextFile Names: »KONTROL.PAS«
└─⟦09235ab48⟧ Bits:30003065 Demoprogrammer K-Z til Pascal bog └─ ⟦this⟧ »KONTROL.PAS«
PROGRAM kontrol; TYPE str2 = STRING(.2.); VAR streng : str2; tal, test : INTEGER; BEGIN WRITE(CLRHOM); REPEAT GOTOXY(0, 5); WRITE(CLREOL, 'Tast et heltal fra 20 til 30: '); BUFLEN := 2; READLN(streng); VAL(streng, tal, test); UNTIL (test = 0) AND (20 <= tal) AND (tal <= 30); WRITELN('Det indtastede tal er ok'); END. «eof»