Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine if variable is an array?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00112224
Message ID:
00112264
Vues:
20
>Does anyone know of a clean way to determine if a variable is of type array? Example:
>
>DIMENSION x[10]
>STORE 0 to x
>x[1]='Some string'
>? TYPE('x') --> returns C which is the type of the first element.
>
>Has VFP6 made arrays as objects?
>
>Thanks
>Costas

TYPE('aMyArray[1]')#'U'
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform