public goCarrier ... goCarrier = createobj('cCarrier') ... Define class cCarrier as relation dimension aArray(1) aArray = '' Function Init This.LoadArray endfun Function LoadArray Dimension this.aArray(xx,xx) ... endfunThen just change the references to gaArray to gaCarrier.aArray, VFP8.0 can help with the new CodeReferences tool.