Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ALEN on property returns error
Message
 
 
To
31/05/2011 06:55:45
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2003
Miscellaneous
Thread ID:
01512305
Message ID:
01512309
Views:
92
Yes, ALEN() works on properties as well as long as it's an array.
Is the property hidden or private?
What is the size of array at the time of error?

>
>I've got a strange problem. I've got an object 'oTask' that has an array property 'aFiles'. the following code returns an error
>
nCount = ALEN(oTask.aFiles,1)
>Returns an error "function argument type or count is invalid"
>While checking the value of
>
oTask.aFiles[1,1]
>Returns the expected value.
>
>I thought that ALEN() works on array properties as well as normal arrays variables. What am I missing here?
>
>Walter,
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform