multi-dimensional array

Post Reply
User avatar
vilian
Posts: 795
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil
Contact:

multi-dimensional array

Post by vilian »

How to know if an array is a multi-dimensional array?
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: multi-dimensional array

Post by cnavarro »

Code: Select all

? Valtype( aArray[ 1 ] ) = "A"
 
or with AEVAL for test all elements
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
vilian
Posts: 795
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil
Contact:

Re: multi-dimensional array

Post by vilian »

Thank you !
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
ADutheil
Posts: 352
Joined: Sun May 31, 2009 6:25 pm
Location: Salvador - Bahia - Brazil

Re: multi-dimensional array

Post by ADutheil »

aEval would be safer. Think of aArray := { 1, 2, { 1, 2, 3 }, 4}
Regards,

André Dutheil
FWH 13.04 HB 3.2 BCC 5.82 MinGW 4.5.2 MSVS 10
Post Reply