RETURN @This.aNewArray>OOPS!!! Hit the wrong key!!! Ignore thre previous!!!! we should try this again...
> *-- myapp.checker > LOCAL laFinal[1], lcString > DIMENSION laFinal[1] > laFinal[1] = "" > lcString = "ABBBACCCADDD" >laFinal = newobj.convert(lcString) > > > *-- myapp.convert > LPARAMETER lcData > LOCAL laNewArray, lnCount, lnItemLine > DIMENSION laNewArray[1] > STORE 0 TO lnItemLine, lnCount > lnCount = OCCURS("A", lcData) > *-- Checked this, lnCount = 3 > *-- now, here is some code to take out extra stuff, like line feeds, etc.. > *-- Okay, all that will be left in lcData is letters.... > FOR lnWork = 1 TO lnCount > *-- put the data into an array, take out each "A", etc... > lnItemLine = lnItemLine + 1 > DIMENSION laNewArray[lnItemLine] > *-- put the line data into array row.... > NEXT > *-- Now, at this point I have and can see laNewArray with three items: > *-- laNewArray[1] = "BBB" > *-- laNewArray[2] = "CCC" > *-- laNewArray[3] = "DDD" > *-- BUT, now I want to send it back... > RETURN @laNewArray > >>