DataMuseum.dk

Presents historical artifacts from the history of:

CP/M

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about CP/M

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦b35ae553c⟧ TextFile

    Length: 384 (0x180)
    Types: TextFile
    Names: »BAGFRA.PAS«

Derivation

└─⟦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« 
└─⟦f983c2ef3⟧ Bits:30004681 Pascal opgaver (Butler)
    └─ ⟦this⟧ »BAGFRA.PAS« 

TextFile

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»