September Morn Update
This commit is contained in:
parent
4e2d22a71d
commit
aac6731f2c
6856 changed files with 141342 additions and 21127 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