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

⟦4a96bbcf9⟧ TextFile

    Length: 640 (0x280)
    Types: TextFile
    Names: »DEMOLEN.PAS«

Derivation

└─⟦08ea08c61⟧ Bits:30003924 PolyPascal programmer
    └─ ⟦this⟧ »DEMOLEN.PAS« 

TextFile

      PROGRAM demolen;
        
        TYPE
          strengtype = STRING(.15.);
        
        VAR
          streng : strengtype;
          i : INTEGER;
        
        BEGIN
          streng := '';
          FOR i := 1 TO 5 DO
            BEGIN
              WRITELN(streng : 12, LEN(streng) : 3);
              streng := streng + 'A';
            END;
          WRITELN(streng : 12, LEN(streng) : 3);
          streng := streng + streng ;
          WRITELN(streng : 12, LEN(streng) : 3);
        END.

        «eof»