Link.nextlink()

BlitzMax Forums/BlitzMax Beginners Area/Link.nextlink()

Ant(Posted 2006) [#1]
Hi, little confusion over nextlink() method.



In the above example i only want the code to enter the statement if prevpathLink.nextlink() returns true - without actually storing nextlink() in prevpathLink. However, it seems to be that when I do this check, rather than saying "If prevpathLink.nextLink() exists" its actually getting the next link, storing it in prevpathLink and then entering the statement.

Is this correct? I hope my explanation makes sense.
Thanks


Ant(Posted 2006) [#2]
Didnt think so- tried a small test elsewhere. Its not whats causuing my problem.