On the other thread, someone idiot pointed out that RETURN doesn't work as you'd expect in functions that return things:
DEF EXAMPLE() GOSUB @TEST RETURN "666" @TEST RETURN END PRINT EXAMPLE()This gives an uninitialized variable used error at the second RETURN. However, if you give a value that is the same type as the real return value:
DEF EXAMPLE() GOSUB @TEST RETURN "666" @TEST RETURN "" END PRINT EXAMPLE()Then it will work just as expected.