DataMuseum.dk

Presents historical artifacts from the history of:

RC3500

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

See our Wiki for more about RC3500

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦81e7a6941⟧ TextFileVerbose

    Length: 1536 (0x600)
    Types: TextFileVerbose
    Names: »tcodegen«

Derivation

└─⟦2c55ea56f⟧ Bits:30001844 SW-save af projekt 1000, Alarm-system
    └─⟦6b41451d2⟧ 
        └─⟦this⟧ »tcodegen« 

TextFileVerbose

program tcodegen(output,input,out);
var
n,l:integer;
a:char;
out:file of char;
fil,id:packed array[1..20] of char;

procedure txt;
begin
l:=0;
repeat
l:=l+1;
read(a); id[l]:=a;
until a in [' ','(',')','.'];
end;

begin
open(out,'genjob'); rewrite(out);
while input^<>'.' do begin
txt; fil:=id; n:=l-1;
if l>1 then repeat
txt;
if l>1 then 
write(out,
nl,'(q=edit ',fil:n,
nl,'if ok.no',
nl,'copy 42.1)',
nl,'d./prefix ',id:l-1,';/,i/',
nl,'prefix ',id:l-1,';',
nl,'/,l./endbody/,l1,s0,i/',nl,'.',nl,'/,f',
nl,'pascal80 codesize.12000 debugenvir q',
nl,'if ok.no',
nl,'finis',
nl,'plibinsert lib.templib',
nl,'if ok.no',
nl,'finis',
nl,'clear temp templib',
nl,'rename lib.templib;*',nl);
until a=')'
end;
write(out,'end',nl);
close(out);
end
.
«eof»