Why do you consider this a bug ? IMHO it's obvious that the value returned by a function that does not assign anything to Result is undefined and thus can be whatever the implementation decides. Of course compiling a function that returns without assigning a function value should result in a warning. -Michael