Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Equivalent of Nothing in VB
Message
From
07/06/2005 18:10:22
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Equivalent of Nothing in VB
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01021162
Message ID:
01021162
Views:
74
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.
Next
Reply
Map
View

Click here to load this message in the networking platform