btw, here (http://www.mech.upatras.gr/~robgroup/ol ... index.html) you can find a demo with source code (it was in Delphi [the algorithms are in the respective folder]) for various path planning algorithms you can use on a grid
don't remember if I had also implemented A* in that demo, probably not (I see it has BestFirst, BreadthFirst and DepthFirst)
UPDATE: it doesn't allow me to post URLs here, so replace the last part with
~robgroup/old_site/search/index.html