Accessing the first element from a linked list

BlitzMax Forums/BlitzMax Programming/Accessing the first element from a linked list

Dirk Krause(Posted 2005) [#1]
Is there a recommended way to access the first (or the last for that matter) object from a linked list?

From [url=http://www.blitzmax.com/Community/posts.php?topic=42590]this thread[/url] I found that there seems to be a first() method, but I didn't find any further information.

[EDIT] Found it out; first() and last() work, I just forgot to do the casting.