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

⟦243618e8b⟧ TextFile

    Length: 512 (0x200)
    Types: TextFile
    Names: »OLE.PAS«

Derivation

└─⟦692ac107c⟧ Bits:30005923 PolyPascal-80 V3.10 arbejdsdiskette 1
    └─ ⟦this⟧ »OLE.PAS« 

TextFile


program talreal;
LABEL ud;
var
  laes : real;
  talfil :file of real;
  begin
  write(clrhom);
      write('Indtast tallene som xx.xxxxxx '); 
      assign(talfil,'b:r.eal');
        reset(talfil);
        seek(talfil,length(talfil));  
        repeat
         read(laes);
         writeln;
         write(talfil,laes);
        if laes=-1 then goto ud;
        until keypress;
    ud:    close(talfil);
   end.      «eof»