view python/tests/code1.ks @ 169:ee0d30533dae

Added more tests and improved the diagnostic update
author Windel Bouwman
date Sat, 23 Mar 2013 18:34:41 +0100
parents 9e552d34bd60
children
line wrap: on
line source

module s;
var a, b, c:integer;

procedure test(x:integer);
begin
   a := x * x + 1337;
   b := a * x
end test;

begin
  a := 4 + 6;
  b := a + 2*a - 3;
  c := a + b
end s.