Re: question(s) about declaring variables
- From: "Mike D Sutton" <EDais@xxxxxxxx>
- Date: Sun, 26 Jun 2005 22:30:11 +0100
> One question about your comment about messy code.
> Did you mean multiple "As String" statements are messy, or code without them is messy.
Without anything is inefficient since VB automatically assumes you want them declared as variants, however IMO the type declaration
characters are messy and archaic. There's only a couple of situations where their use is warranted, other than that stick with "As
String".
Hope this helps,
Mike
- Microsoft Visual Basic MVP -
E-Mail: EDais@xxxxxxxx
WWW: Http://EDais.mvps.org/
.
- Follow-Ups:
- Re: question(s) about declaring variables
- From: Larry Serflaten
- Re: question(s) about declaring variables
- From: Steve Easton
- Re: question(s) about declaring variables
- References:
- question(s) about declaring variables
- From: Steve Easton
- Re: question(s) about declaring variables
- From: Mike D Sutton
- Re: question(s) about declaring variables
- From: Steve Easton
- question(s) about declaring variables
- Prev by Date: Re: New database squence number & locking info
- Next by Date: Re: question(s) about declaring variables
- Previous by thread: Re: question(s) about declaring variables
- Next by thread: Re: question(s) about declaring variables
- Index(es):
Relevant Pages
|