b3d after command in bmax?

BlitzMax Forums/BlitzMax Beginners Area/b3d after command in bmax?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Righto, it seems to be just the ticket. I don't know how I didn't see it before. This is elegent stuff.

However how do I put error checking into After and Before? I seem to be thrashing with nulls a bit.

				'gather 4 points needed
				p2 = tPoint(p.After())
				p3 = tPoint(p2.After())
				p4 = tPoint(p3.After())


Seems to throw an error when I get to the end of the list. I tried going checking for null but it up ends anyway...

Thank you for helping though!