(*esto deberia de dar erro*) struct a1 a2 a3 end; func f(x,y) var g:=1; var d:=1; if d = g then var t:=5; d:=x.a1; else t:=x.a2; end; return t; end;