Mikko >Another interesting discovery: it seems you cannot pass a property by >reference. My first attempt to fix my code was: > > set ab=##class(A.B).%OpenId(id,,.s.cSta) > >but this does not compile. I got a response from WRC that there is a >problem parsing the two dots. So my final code became: > > set st=$$$OK // maybe this is not needed? > set ab=##class(A.B).%OpenId(id,,.st) > set s.cSta=st
Interestingly enough I fell over this only last week and there is no need to set the thing up first set ab=##class(A.B).%OpenId(id,,.sc) set s.Status=sc works fine peter
