Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Proper reference to get ALEN on an object's array
Message
From
27/03/2000 00:30:47
 
 
To
25/03/2000 18:25:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00350449
Message ID:
00350610
Views:
21
>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.

I created a method in the object to return the array. The following works:
* Returns the len of the array
FUNCTION LenArray
RETURN ALEN(This.aCursor,1)
ENDFUNC
Thanks to Jim Booth who suggested me that workaround.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform