2d Polygon collision Module

Miscellaneous Forums/Blitz Showcase/2d Polygon collision Module

I get this error:
[ERROR]: Unhandled Exception: Unhandled Memory Exception Error
[ERROR]: Poly_AddVertex [C:\BlitzMaxBeta101\mod\indiepath.mod\poly.mod/poly.bmx;56;19]
[ERROR]: testpoly [e:\programmer\blitzmax\mod\indiepath.mod/testpoly.bmx;11;1]
It compiles fine, but the example crashes.