|
DataMuseum.dkPresents historical artifacts from the history of: RC4000/8000/9000 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RC4000/8000/9000 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 768 (0x300) Types: TextFile Names: »tremovespt«
└─⟦667bb35d6⟧ Bits:30007480 RC8000 Dump tape fra HCØ. └─⟦4334b4c0b⟧ └─⟦74e8651f1⟧ »div« └─⟦this⟧
begin comment this program: removes all trailing spaces in lines. ; integer char,count; repeat readchar(in,char); count := 0; while char = 'sp' do begin count := count+1; readchar(in,char); end; if char <> 'nl' and count > 0 then begin repeat outchar(out,'sp'); count := count-1; until count = 0; end; outchar(out,char); until char = 'em'; fpproc(7,0,0,0); end; ▶EOF◀