It appears that Powerserver does not support the dynamic calling of functions with a parameter that is of type reference.
What happens is that when that variable is populated in the calling function, it is passed back as null ( like it was
discarded ). I wondered if anyone has found a suitable workaround for this.