Re: Variable declaration style

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Larry Serflaten (serflaten_at_usinternet.com)
Date: 09/17/04


Date: Thu, 16 Sep 2004 23:42:24 -0500


"MikeD" <nobody@nowhere.edu> wrote
> >
> > > > If you don't use the "As <datatype>" clause, then the
> > > > variable will, by default, be declared as a Variant. There are NO
> > > > exceptions to this rule.
> >
> > Dim A&, B&, C& ' ( As Long )
> > Dim X%, Y%, Z% ' ( As Integer)
>
> IMO, that's not really overriding the default variant data type.

They don't use AS, so they are exceptions....

<shrug>
LFS