// Mark the maximum coordinate label18.caption: = res [0]; "List out of bound" occurs.
After that, I can't find a solution. Just add a label, and assume the value to that, blame.