Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vartype: behavior
Message
De
16/09/1998 17:18:05
 
 
À
16/09/1998 15:10:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00136852
Message ID:
00137522
Vues:
31
>Doesn't that array contain .NULL. for that element if that form does not exist?

>I tried:
>DIMESION aForms[2]
>aForms[1] = CREATEOBJECT('form')
>aForms[2] = CREATEOBJECT('form')
>aForms[2].Release()
>
>Now aForms contains:
>[1] - object reference to first form created: VARTYPE(aForms[1]) is 'O'
>[2] - .NULL. : VARTYPE(aForms[2]) is 'X'
>
>Since the element is .NULL. (or 'X'), don't do the VARTYPE on the non-existant property. I agree, it would me much easier to test it all at once.
>

That's what I thought. :-)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform