|
|
DataMuseum.dkPresents historical artifacts from the history of: CP/M |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about CP/M Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 512 (0x200)
Types: TextFile
Names: »KONTROL.PAS«
└─⟦08ea08c61⟧ Bits:30003924 PolyPascal programmer
└─⟦this⟧ »KONTROL.PAS«
└─⟦09235ab48⟧ Bits:30003065 Demoprogrammer K-Z til Pascal bog
└─⟦this⟧ »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»