Re: Option Explicit
- From: Marshall Barton <marshbarton@xxxxxxxxxx>
- Date: Tue, 19 Jun 2007 13:54:39 -0500
Warrio wrote:
Sorry if I'm asking a question already asked, but I haven't found a real
answer to my question on Internet...
Is it really worth to put Option Explicit? it would be great if you could
develop your answer!
Strongly recommended.
If you don't use it, then any undeclared variable name you
use will be type Variant and have a value of Null when you
misspell the name you meant to use. Option Explicit will
catch that error immediately so you can avoid a lot of
tedious debugging just to find a typo.
--
Marsh
MVP [MS Access]
.
- Follow-Ups:
- Re: Option Explicit
- From: Warrio
- Re: Option Explicit
- References:
- Option Explicit
- From: Warrio
- Option Explicit
- Prev by Date: Re: Option Explicit
- Next by Date: Re: Does 'has module' need to be set to true on forms to run macros?
- Previous by thread: Re: Option Explicit
- Next by thread: Re: Option Explicit
- Index(es):
Relevant Pages
|
Loading