Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does an array exist??
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00294594
Message ID:
00294683
Vues:
19
>Hello All:
>i need to verify if an array exists.
>I can use ?type('myaray(1)') <> 'U' but is there another command that might be a little more flexible??
>

VARTYPE(myarray[1]) is a bit quicker, but may have problems checking for an array property of an object if the object reference doesn't exist - tends to smoke, where TYPE() returns a 'U' even if the object reference is bad.
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