in reply to Re^7: Invalid value for shared scalar
in thread Invalid value for shared scalar

Produces the same thing with your code exactly, so must just be a difference in compile options or something like that. Thanks again.