Categories
How does this piece of code work in Delphi?
In this function, the penultimate line is not clear. function max(x:mas):real; vars:real; i:integer; begin s:=abs(x[1]); for i:=2 to 4 do if abs(x[i])>s then s:=abs(x[i]); max:=s; end;
Answer the question
In order to leave comments, you need to log in
this string contains the name of the function. that is, the result that the function should return. it is also allowed to use the result variable.
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question