Null links

BlitzMax Forums/BlitzMax Beginners Area/Null links

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.

Hmmm, that's not the full code either but never mind.
In addition, you haven't got a simple 'link and link.nextlink()' condition.
Anyway, is the following really doing what your comments say?
		While link And link.nextlink() And prevPathLink Or nextPathLink

What if you change it to...
while link and link.nextlink and (prevpathlink or nextpathlink)