Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: Array is property of element in Collection class
Message
From
27/04/2004 04:09:33
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
BUG: Array is property of element in Collection class
Miscellaneous
Thread ID:
00898411
Message ID:
00898411
Views:
44
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
Map
View

Click here to load this message in the networking platform