Hi everyone!
Here's my problem. I am trying to get the row/col of a single OR multidimensional array. Just like the ALEN() Function for Recital/FoxPro. Here is an example:
private array1[10]
private array2[1,5]
array1[1] = "This string has a len of 33 chars"
array1[2] = "woot!"
array2[1,1] = "test test test"
array2[1,2] = "test test test"
LEN(array2) && will equal 1
LEN(array2[1]) && will equal 5. Prefect. just what i want.
LEN(array1) && This will equal 10
LEN(array1[1]) && since this is a one dimensional array it will give me the len of the element 33. I want the len of the number of columns in the array.. for a single dim it would always be 0. I want this because im not sure if the array is a one or multi array.
Any help would be awsome. Im just looking for a compareable functon for Clipper/FlagShip from FoxPro/Recital. Thanks in adv!
Here's my problem. I am trying to get the row/col of a single OR multidimensional array. Just like the ALEN() Function for Recital/FoxPro. Here is an example:
private array1[10]
private array2[1,5]
array1[1] = "This string has a len of 33 chars"
array1[2] = "woot!"
array2[1,1] = "test test test"
array2[1,2] = "test test test"
LEN(array2) && will equal 1
LEN(array2[1]) && will equal 5. Prefect. just what i want.
LEN(array1) && This will equal 10
LEN(array1[1]) && since this is a one dimensional array it will give me the len of the element 33. I want the len of the number of columns in the array.. for a single dim it would always be 0. I want this because im not sure if the array is a one or multi array.
Any help would be awsome. Im just looking for a compareable functon for Clipper/FlagShip from FoxPro/Recital. Thanks in adv!