thank you Abened ! A* is really tricky so i enjoyed the help of your work. It is exactly what i was looking for.

I have just ported it to freepascal. It works fine with only minor changes (static Arrays). Using Console output it can be compiled by any existing pascal compiler.

THANKS!