Originally Posted by
Greg M
Hi there,
It's VERY difficult to make meaningful suggestions without seeing the full code (which I can't access using the link you posted).
The "Overflow" error means that a variable is being asked to store a value which exceeds the allowable limits for the type of variable.
If your rowCount variable is declared (in a Dim statement) as being of type Integer, it might be worth declaring it to be of type Long and seeing if that makes a difference.
Hope this helps.
Regards,
Greg M
Here's the whole code:
I tried changing:
That produced this error:
After that the debugger points to "result = DouglasPeucker(pointList, epsilon, rowCount)"
Bookmarks