hi, i've found this:
Code:
  if(b>max) max=b,index=1;
  if(c>max) max=c,index=2;
is this translation right:
[pascal]
if(b>max) then begin max:=b;index:=1; end;
if(c>max) then begin max:=c;index:=2; end;
[/pascal]

How comes the assignement are separated by "," instead of ";" ?

thanks