Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Equivalent of Nothing in VB
Message
De
07/06/2005 18:10:22
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Equivalent of Nothing in VB
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01021162
Message ID:
01021162
Vues:
72
I am converting code that was for VB6 to VFP and have run into the use of the "Nothing" keyword. From the help:

The Nothing keyword in VBScript is used to disassociate an object variable from any actual object. Use the Set statement to assign Nothing to an object variable. For example:

Set MyObject = Nothing

Is there an equivalent in VFP 9? This appears to be a reference to an object variable that is null. I have tried to use null, but this gives an error of improper type.

Any suggestions? Thanks.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform