Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UBound function
Message
From
21/01/2003 14:32:43
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
To
21/01/2003 14:29:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00743861
Message ID:
00743864
Views:
8
This message has been marked as the solution to the initial question of the thread.
James,

Try looking at the ALEN() function.

Regards,

Mike

>Does anyone know how to evaluate the upper bound of an array? For instance, if I have an array called la_ArrayValue, how do I evaluate the following statement:
>
>Do while x < (whatever the upper bound of the array is)
>
>So if the array had 9 entries, it would be the same as evaluating :
>Do while x < 10
>
>Any help would be appreciated. I am trying to avoid a subscript out of bound error. Thanks.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform