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

⟦1f40fe893⟧ TextFile

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

Derivation

└─⟦01e83a425⟧ Bits:30008166 Bånd med SW8010 og SW8500 source code
    └─⟦75ff9bef3⟧ 
        └─⟦this⟧ »addtx       « 

TextFile

mode list.yes
add=algol survey.yes 
begin
  integer       i, j, sum;
  real    array par (1:2);

  if system (4, 1, par) <> 4 shift 12 + 4 then
    system (9, 1, <:<10>param:>);

  i := par (1);


  if system (4, 2, par) <> 4 shift 12 + 4 then
    system (9, 2, <:<10>param:>);

  j := par (2);

  sum := i + j;

  write (out, <<+d dd dd>,
  "nl", 1, <:i = :>, i, <:, j = :>, j, <:, sum = :>, sum);
end;

end
▶EOF◀