trying to return something from a function

BlitzMax Forums/BlitzMax Beginners Area/trying to return something from a function

i'm learning bmax recently. ;)
So if i define a function with a return type and not write any "return", it returns the default value?

interesting...

And if i don't define any return type, is it similar to the void function of java or C/C++?