Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does public variable exist
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00892308
Message ID:
00892310
Vues:
14
This message has been marked as a message which has helped to the initial question of the thread.
>Can "pemstatus()" be used to check for public variables created in the main program? What object do PUBLIC variables exist in? What's the best way to see if PUBLIC variables exist?
>
Hi Chuck,

Variables in VFP exist outside of OOP world. They don't belong to any objects. You can use TYPE() function to check for there existense
IF TYPE("myvariable") <> "U"
  WAIT WIND "It Does Exists!"
ENDIF
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform