Obtaining Subscript Info for Array Passed by ReferenceLast reviewed: April 29, 1996Article ID: Q103595 |
The information in this article applies to:
SUMMARYThe l_subs member of the Locator structure for arrays passed by reference is not set appropriately when the function is invoked. To obtain subscript information for an array, call the _ALEN() function using the l_NTI member of the Locator structure.
MORE INFORMATIONWhen using ALEN() with the mode AL_SUBSCRIPT2, a return of 0 means that the array is one dimensional. Otherwise, you receive the second dimension of the array. AL_SUBSCRIPT1 returns the first dimension of the array. AL_ELEMENTS returns the total number of elements in the array.
|
Additional reference words: VFoxWin 3.00 3.00b FoxWin FoxDos 2.50 2.50a
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |