IsNothing(_myVar) vs. _myVar Is Nothing
- From: "Dave Taylor" <no_spam_dave@xxxxxxxxxxxxxx>
- Date: Wed, 17 Aug 2005 14:46:23 -0600
This is really not very important but something that I'm just curious
about...which is faster to execute or are they the same:
(1) If IsNothing(_myVar) Then ...
or
(2) If _myVar Is Nothing Then ...
I find myself using #1 most frequently but for no real reason other than I
like the way it looks.
-- Dave
.
- Follow-Ups:
- Re: IsNothing(_myVar) vs. _myVar Is Nothing
- From: Jay B. Harlow [MVP - Outlook]
- Re: IsNothing(_myVar) vs. _myVar Is Nothing
- From: DraguVaso
- Re: IsNothing(_myVar) vs. _myVar Is Nothing
- From: Cor Ligthert [MVP]
- Re: IsNothing(_myVar) vs. _myVar Is Nothing
- From: Jay B. Harlow [MVP - Outlook]
- Re: IsNothing(_myVar) vs. _myVar Is Nothing
- Prev by Date: Re: Treeview add node problem
- Next by Date: Re: IsNothing(_myVar) vs. _myVar Is Nothing
- Previous by thread: Ping and Tracert
- Next by thread: Re: IsNothing(_myVar) vs. _myVar Is Nothing
- Index(es):
Relevant Pages
|