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/ifdemo.tri

9 lines
126 B

let
var a : Integer;
var n : Integer
in
begin
if a < 0
then n := 0
else n := 1
end