Linda,
I'm glad, you figured this out, but have you tried my suggestion? It looks like it should work, though I haven't tried it myself.
>In any case, folks, I figured it out. The only way I can get access the elements of an array that is a property of an object, when using a variable for the property reference is by using the macro designation; for some reason EVALUATE() returns only the first element of an array.
>
>The solution was to first:
>
>ACOPY(&loArray, laArray) && where loArray is a variable containing the character string for the object reference and laArray is the new array)
>
>I can then pass laArray by reference to a function:
>
>MYFUNCTION(@laArray)
>
>This is the only solution I know of that will pass the array elements to a function (rather than merely the first element).
>
>There are probably other ways of doing this...and I'd be interested in hearing about them. This is a basic reference issue which is pretty fundamental if you are going to be writing your own custom classes.
>
>Linda
If it's not broken, fix it until it is.
My Blog