Error 591 - BYVAL with OUT is not allowed

BYVAL with OUT is not allowed - OUT parameter may not be BYVAL, because those are destroyed before the OUT value could be retrieved.