Passing lists from a function

BlitzMax Forums/BlitzMax Beginners Area/Passing lists from a function

function lookupplayerval:TLIST (fld$,val%)


You have to add the return type to the function declaration