This method returns cost for a single link and array index.
Syntax: GetCost(index,link: integer): TCost
See also CreateArrayCost, CalculateCost and SetCost