General information
Category:
Coding, syntax & commands
Title:
Array is property of element in Collection class
Hi all.
I am finded problem in VFP. Maybe is it BUG of VFP 8 SP1.
Problem code:
LOCAL oCollect as Collection
LOCAL oEmpty, iX
oEmpty = CREATEOBJECT('empty')
oCollect = CREATEOBJECT('collection')
ADDPROPERTY(oEmpty,'AnyArray(8)','')
oCollect.Add(oEmpty)
FOR EACH oElement IN oCollect
FOR iX = 1 TO ALEN(oElement.AnyArray,1) && Error
?oElement.AnyArray[iX]
ENDFOR
ENDFOR
If I approach to properties AnyArray of element oElement of function ALEN() then VFP generate ERROR MESSAGE...
You have any ideas?
Thanks you for any answear.
Roman
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only