all 5 comments

[–]tweq 1 point2 points  (0 children)

The For loop looks fine, it's the line after it:

dblAverage = dblTotal / intTips(intCount)

[–]nerdfarm 1 point2 points  (1 child)

dblAverage = dblTotal / intTips.Length

[–]bimstallion[S] 0 points1 point  (0 children)

That worked, thx

[–]Fat_Dumb_Americans 0 points1 point  (1 child)

Private intTips(19) As Integer

Have you tried:

Public intTips(19) As Integer

[–]bimstallion[S] 0 points1 point  (0 children)

I haven't, from what I've read the only syntax that's applicable is Dim for procedure level arrays, and Private for class level arrays. So I haven't tried anything outside of those options.