|
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 - download
Length: 384 (0x180) Types: TextFile Names: »BAGFRA.PAS«
└─⟦08ea08c61⟧ Bits:30003924 PolyPascal programmer └─⟦this⟧ »BAGFRA.PAS« └─⟦092727b26⟧ Bits:30005927 Demoprogrammer til Pascal bog (Jet-80) └─⟦this⟧ »BAGFRA.PAS« └─⟦3702e543b⟧ Bits:30003064 Demoprogrammer A-J til Pascal bog └─⟦this⟧ »BAGFRA.PAS«
PROGRAM bagfra; TYPE str30 = STRING(.30.); VAR s1, s2 : str30; i : INTEGER; BEGIN WRITE(CLRHOM, 'Indtast en tekst: '); BUFLEN := 30; READLN(s1); s2 := ''; FOR i := LEN(s1) DOWNTO 1 DO s2 := s2 + s1(.i.); WRITELN('FORFRA: ', s1); WRITELN('BAGFRA: ', s2); END. «eof»