Triangle tools from the text book Programming Processors in Java.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
Triangle-Tools/programs/bardemo.tri

20 lines
308 B

2 years ago
! this won't work until after some work in the practicals
let
var a : Integer;
var b : Integer
in
begin
a := 1;
b := 2;
putint(a);
2 years ago
puteol();
2 years ago
putint(b);
2 years ago
puteol();
2 years ago
putint(|a);
2 years ago
puteol();
putint(|b);
puteol()
end