--- HouseDad <[EMAIL PROTECTED]> wrote:
No it's not. It's a quirk of VB.

When you write:

Dim a,b,c, as Integer

You actually have dimmed a and b as variant and c as
integer.

If you wanted to do a single line:

Dim a as Integer, b as Integer, c as Integer


Tim


>      Shouldn't "DIM a,b,c as integer" be the exact
> equivalent to 
> DIM a as integer
> DIM b as integer
> DIM c as integer
> ?
> 
>      I recently had a case where I had to do this
> for it to function 
> properly. 
> 
>      I will do some more reading before I bother you
> all with scope 
> again.
>  
> 
> 
> [C]
> 
> 
> 



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/k7folB/TM
--------------------------------------------------------------------~-> 


'// =======================================================
    Rules : http://ReliableAnswers.com/List/Rules.asp
    Home  : http://groups.yahoo.com/group/vbHelp/
    =======================================================
    Post  : [EMAIL PROTECTED]
    Join  : [EMAIL PROTECTED]
    Leave : [EMAIL PROTECTED]
'// =======================================================
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/vbhelp/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to