DataMuseum.dk

Presents historical artifacts from the history of:

RC4000/8000/9000

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

See our Wiki for more about RC4000/8000/9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦60189feb0⟧ TextFile

    Length: 768 (0x300)
    Types: TextFile
    Names: »cifx«

Derivation

└─⟦621cfb9a2⟧ Bits:30002817 RC8000 Dump tape fra HCØ.  Detaljer om "HC8000" projekt.
    └─⟦0364f57e3⟧ 
        └─⟦this⟧ »cifx« 
└─⟦00964e8f7⟧ Bits:30007478 RC8000 Dump tape fra HCØ.
    └─⟦b2ec5d50f⟧ 
        └─⟦this⟧ »cifx« 

TextFile

clear user cif
cif=set 1 disc
scope user cif
cif=algol

external integer procedure nc(i); value i; integer i;
begin integer a,sgn;
      if i<0 then sgn:=1 else sgn:=0;
      i:=abs(i);
      if i>10000000 then 
      begin write(out,<:***cif:>);
            goto slut;
      end;
      if i<10 then a:=1;
      if i>9     and i<100 then a:=2;
      if i>99    and i<1000 then a:=3;
      if i>999   and i<10000 then a:=4;
      if i>9999  and i<100000 then a:=5;
      if i>99999 and i<1000000 then a:=6;
      nc:=a+sgn;
slut:
end; end
▶EOF◀