Hello, Maybe somebody can help me with a problem I encountered when studying the book of Wellin Prog in Mathem. In chapter 11 he explains Dynamic Modules and he gives a few examples. At the end of the chapter are the problems. This is one of the questions : Generate 20 random points in the unit square, find the shortest path (FindShortestPath) and plot it. If you click a new set of points is generated and plotted. If I build it static everything works, but not when I put in a Dynamic Module . I tried everything but I dont have a clue where the problem is. See attach with (5 points)
Wellin gives a solution very different from mine, but I like to understand why mine is not working. Thank you in advance, Chiel Geeraert