General information
Category:
Coding, syntax & commands
Title:
Equivalent of Nothing in VB
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only