|
DataMuseum.dkPresents historical artifacts from the history of: Jet Computer Jet80 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Jet Computer Jet80 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - download
Length: 512 (0x200) Types: TextFile Names: »KONTROL.PAS«
└─⟦092727b26⟧ Bits:30005927 Demoprogrammer til Pascal bog (Jet-80) └─ ⟦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»