|
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: 384 (0x180) Types: TextFile Names: »BAGFRA.PAS«
└─⟦092727b26⟧ Bits:30005927 Demoprogrammer til Pascal bog (Jet-80) └─ ⟦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»