Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vartype() type works different for hyperlink?
Message
 
 
À
07/07/2003 18:54:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00807623
Message ID:
00807739
Vues:
31
>This is only an example...suppose a module wants to make sure an application object, called oApp exists:
>
>
>if vartype(oApp) <> "O"
>    * Houston, we have a problem....
>endif
>
>
As I sad I never use vartype for variables/properties if I'm not sure if they exist. I would use
if type("oApp")<> "O"
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform