const max = 4; class foo begin const max = 7; var y : int; var z : real; end; function main () var q : foo; begin q.z = 3.4; end;