H&K is right - when you want a value returned, you are required to use Len(). Any function used without () is supposed to return no value.
Your first example was never supposed to work - WriteStdout should have been given a '0'... and that's only if the compiler didn't complain first.
Your first example was never supposed to work - WriteStdout should have been given a '0'... and that's only if the compiler didn't complain first.