Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
14
Task/Null-object/VBA/null-object.vba
Normal file
14
Task/Null-object/VBA/null-object.vba
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
Public Sub Main()
|
||||
Dim c As VBA.Collection
|
||||
|
||||
' initial state: Nothing
|
||||
Debug.Print c Is Nothing
|
||||
|
||||
' create an instance
|
||||
Set c = New VBA.Collection
|
||||
Debug.Print Not c Is Nothing
|
||||
|
||||
' release the instance
|
||||
Set c = Nothing
|
||||
Debug.Print c Is Nothing
|
||||
End Sub
|
||||
Loading…
Add table
Add a link
Reference in a new issue