Re: Registry VB question
- From: "Ken Halter" <Ken_Halter@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 9 Jun 2005 08:24:48 -0700
"Harry Bates" <None> wrote in message
news:eq8u0WQbFHA.3192@xxxxxxxxxxxxxxxxxxxxxxx
> Hehe, no idea what you guys are talking about.
>
The DefXXX lines in that class...
>From help:
"Used at module level to set the default data type for variables, arguments
passed to procedures, and the return type for Function and Property Get
procedures whose names start with the specified characters."
AKA, using the DefXXX lines allows the programmer to save about 4 keystrokes
per variable declaration. Just plain lazy imo.... and confusing too. When I
see a line that reads:
Dim X
....I expect that variable to be a Variant and don't want to start searching
the module for left-over DefXXX statements (maybe I'm lazy? <g>). If DefInt
A-Z is there, X would be an integer. If DefLng, X is a Long. There's no
guesswork (or searching) involved when the variable is declared like
this....
Dim X As Long
--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Please keep all discussions in the groups..
.
- Follow-Ups:
- Re: Registry VB question
- From: Harry Bates
- Re: Registry VB question
- References:
- Registry VB question
- From: vm
- Re: Registry VB question
- From: Harry Bates
- Re: Registry VB question
- From: Ken Halter
- Re: Registry VB question
- From: Bob Butler
- Re: Registry VB question
- From: Harry Bates
- Registry VB question
- Prev by Date: Re: Registry VB question
- Next by Date: Re: Registry VB question
- Previous by thread: Re: Registry VB question
- Next by thread: Re: Registry VB question
- Index(es):