>In an array, we will use ALEN(laArray,1) to get the array len. However, if this is coming from an object's array, what is the appropriate syntax to use. I see that ALEN(loObject.aArray,1) does not work.
Something is wrong. The following works just fine:
SET PROC TO TESTcrea
ox=createobj('arrayobj')
? alen(ox.aary,1)
? alen(ox.aary,2)
ox.changearray()
? alen(ox.aary,1)
? alen(ox.aary,2)
PROCEDURE testit
DEFINE CLASS arrayobj AS CUSTOM
DECLARE aary[4,2]
PROC CHANGEARRAY
DIMENSION this.aary[9,4]
ENDPROC
ENDDEFINE