06-27-2005, 08:59 AM
Quote:That's helpful
So I rewrote the code using arrays, but I've come across a bug that I can't fix. It seems to be a memory problem in the OS itself. :/
<snip>
--j_k
Hi:
You are re-dimensioning a local variable that is not declared as dynamic. I am not sure of QB or FB syntax rules here, but I would not have coded it like this, and if you make your arrays dynamic then it does not crash.
Try:
redim OpenList(1 to 1) as PathListElement
redim ClosedList(1 to 1) as PathListElement
Have fun.
Garvan